diff options
author | Thomas Bechtold <tbechtold@suse.com> | 2015-04-05 08:39:18 +0200 |
---|---|---|
committer | Thomas Bechtold <tbechtold@suse.com> | 2015-04-05 08:39:18 +0200 |
commit | 82d003629ef23fd7f0dc2fb71d5edc937271ffd8 (patch) | |
tree | 96086c26ad797e5ae2e2aa43883b55e318bc0fff /setuptools/tests/test_integration.py | |
parent | 1dd10a4945fc57b6a9e52d09b634c778fce44852 (diff) | |
download | external_python_setuptools-82d003629ef23fd7f0dc2fb71d5edc937271ffd8.tar.gz external_python_setuptools-82d003629ef23fd7f0dc2fb71d5edc937271ffd8.tar.bz2 external_python_setuptools-82d003629ef23fd7f0dc2fb71d5edc937271ffd8.zip |
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
Diffstat (limited to 'setuptools/tests/test_integration.py')
-rw-r--r-- | setuptools/tests/test_integration.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setuptools/tests/test_integration.py b/setuptools/tests/test_integration.py index 90bb4313..07f06db2 100644 --- a/setuptools/tests/test_integration.py +++ b/setuptools/tests/test_integration.py @@ -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 |