From 82d003629ef23fd7f0dc2fb71d5edc937271ffd8 Mon Sep 17 00:00:00 2001 From: Thomas Bechtold Date: Sun, 5 Apr 2015 08:39:18 +0200 Subject: 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 --- setuptools/tests/test_integration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'setuptools/tests/test_integration.py') 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 -- cgit v1.2.1