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): ...@@ -28,7 +28,7 @@ def setup_module(module):
try: try:
urlopen('https://pypi.python.org/pypi') urlopen('https://pypi.python.org/pypi')
except Exception as exc: except Exception as exc:
pytest.skip(reason=str(exc)) pytest.skip(str(exc))
@pytest.fixture @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