python-setuptools/fix-type-error.patch

21 lines
648 B
Diff

changeset: 3811:6b535d850b40
branch: fix-type-error-skip-reason
tag: tip
user: Thomas Bechtold <tbechtold@suse.com>
date: Sun Apr 05 08:39:18 2015 +0200
summary: Fix TypeError for pytest.skip()
diff -r ef4e6f655dc0 -r 6b535d850b40 setuptools/tests/test_integration.py
--- a/setuptools/tests/test_integration.py Sun Apr 05 06:35:14 2015 +0000
+++ b/setuptools/tests/test_integration.py Sun Apr 05 08:39:18 2015 +0200
@@ -28,7 +28,7 @@
try:
urlopen('https://pypi.python.org/pypi')
except Exception as exc:
- pytest.skip(reason=str(exc))
+ pytest.skip(str(exc))
@pytest.fixture