summaryrefslogtreecommitdiff
path: root/dev-python/pluggy/files/pluggy-0.7.1-disable-broken-tests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pluggy/files/pluggy-0.7.1-disable-broken-tests.patch')
-rw-r--r--dev-python/pluggy/files/pluggy-0.7.1-disable-broken-tests.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/dev-python/pluggy/files/pluggy-0.7.1-disable-broken-tests.patch b/dev-python/pluggy/files/pluggy-0.7.1-disable-broken-tests.patch
new file mode 100644
index 000000000000..578b56ce3467
--- /dev/null
+++ b/dev-python/pluggy/files/pluggy-0.7.1-disable-broken-tests.patch
@@ -0,0 +1,19 @@
+diff --git a/testing/test_helpers.py b/testing/test_helpers.py
+index 846b0a1..89a52b1 100644
+--- a/testing/test_helpers.py
++++ b/testing/test_helpers.py
+@@ -1,3 +1,4 @@
++import platform
+ from pluggy.hooks import varnames
+ from pluggy.manager import _formatdef
+
+@@ -27,6 +28,9 @@ def test_varnames_default():
+
+
+ def test_varnames_class():
++ # fails under pypy3
++ if platform.python_implementation() == 'PyPy':
++ return
+ class C(object):
+ def __init__(self, x):
+ pass