Commit 82d00362 authored by Thomas Bechtold's avatar Thomas Bechtold

Fix TypeError for pytest.skip()

pytests skip() method doesn't have a 'reason' parameter.
This fixes:

  TypeError: skip() got an unexpected keyword argument 'reason'

--HG--
branch : fix-type-error-skip-reason
parent 1dd10a49
......@@ -28,7 +28,7 @@ def setup_module(module):
try:
urlopen('https://pypi.python.org/pypi')
except Exception as exc:
pytest.skip(reason=str(exc))
pytest.skip(str(exc))
@pytest.fixture
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment