[pypy-commit] pypy default: skip this test on older CPython 2.7.x
arigo
pypy.commits at gmail.com
Fri Mar 10 06:23:45 EST 2017
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r90619:46d13fbc30fe
Date: 2017-03-10 12:23 +0100
http://bitbucket.org/pypy/pypy/changeset/46d13fbc30fe/
Log: skip this test on older CPython 2.7.x
diff --git a/pypy/module/cpyext/test/test_typeobject.py b/pypy/module/cpyext/test/test_typeobject.py
--- a/pypy/module/cpyext/test/test_typeobject.py
+++ b/pypy/module/cpyext/test/test_typeobject.py
@@ -980,6 +980,9 @@
assert module.size_of_instances(bar) >= size
def test_app_cant_subclass_two_types(self):
+ import sys
+ if sys.version_info < (2, 7, 9):
+ skip("crashes on CPython (2.7.5 crashes, 2.7.9 is ok)")
module = self.import_module(name='foo')
try:
class bar(module.fooType, module.UnicodeSubtype):
More information about the pypy-commit
mailing list