Skip to content

Commit

Permalink
fixing code-style, keep flake8 happy
Browse files Browse the repository at this point in the history
  • Loading branch information
mbyt committed Jan 31, 2017
1 parent d1c7250 commit 36b6f17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _pytest/unittest.py
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ def runtest(self):
if (getattr(self._testcase.__class__, "__unittest_skip__", False) or
getattr(testMethod, "__unittest_skip__", False)):
# If the class or method was skipped.
skip_why = (getattr(self._testcase.__class__, '__unittest_skip_why__', '')
or getattr(testMethod, '__unittest_skip_why__', ''))
skip_why = (getattr(self._testcase.__class__, '__unittest_skip_why__', '') or
getattr(testMethod, '__unittest_skip_why__', ''))
try:
self._testcase._addSkip(self, self._testcase, skip_why)
except TypeError: # PY2
Expand Down

0 comments on commit 36b6f17

Please sign in to comment.