PyPy3 support (#2146)
* Error out eval_file
* Enable dynamic attribute support for Pypy >= 6
* Add a test for dynamic attribute support
* Skip test for eval_file on pypy
* Workaround for __qualname__ on PyPy3
* Add a PyPy3.6 7.3.0 build
* Only disable in PyPy3
* Fix travis testing
* No numpy and scipy for pypy
* Enable test on pypy2
* Fix logic in eval_file
* Skip a few tests due to bugs in PyPy
* scipy wheels are broken. make pypy2 a failrue
Co-authored-by: Andreas Kloeckner <inform@tiker.net>
diff --git a/tests/test_multiple_inheritance.py b/tests/test_multiple_inheritance.py
index 475dd3b..7a6e4a0 100644
--- a/tests/test_multiple_inheritance.py
+++ b/tests/test_multiple_inheritance.py
@@ -10,6 +10,7 @@
assert mt.bar() == 4
+@pytest.bug_in_pypy
def test_multiple_inheritance_mix1():
class Base1:
def __init__(self, i):
@@ -49,6 +50,7 @@
assert mt.bar() == 4
+@pytest.bug_in_pypy
def test_multiple_inheritance_python():
class MI1(m.Base1, m.Base2):
@@ -253,7 +255,7 @@
assert d.static_value == 0
-@pytest.unsupported_on_pypy
+@pytest.unsupported_on_pypy_lt_6
def test_mi_dynamic_attributes():
"""Mixing bases with and without dynamic attribute support"""