diff options
author | Stefano Rivera <stefano@rivera.za.net> | 2020-10-07 22:44:58 -0700 |
---|---|---|
committer | Stefano Rivera <stefano@rivera.za.net> | 2020-10-07 22:44:58 -0700 |
commit | 2bd33d0e6d9b7010280a138ab98bad0d5465678b (patch) | |
tree | a6625040eaa71d9160517ca3047bbb553b7a8a97 /lib-python | |
parent | PyPy's parser has always pointed to the start of the token, not the end (diff) | |
download | pypy-2bd33d0e6d9b7010280a138ab98bad0d5465678b.tar.gz pypy-2bd33d0e6d9b7010280a138ab98bad0d5465678b.tar.bz2 pypy-2bd33d0e6d9b7010280a138ab98bad0d5465678b.zip |
Explicitly disable cElementTree tests more effectively (so @cet_only works)
Backed out changeset 2dbf44ce2b79
Diffstat (limited to 'lib-python')
-rw-r--r-- | lib-python/2.7/test/test_xml_etree_c.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib-python/2.7/test/test_xml_etree_c.py b/lib-python/2.7/test/test_xml_etree_c.py index a2d55a3934..e8a22e240b 100644 --- a/lib-python/2.7/test/test_xml_etree_c.py +++ b/lib-python/2.7/test/test_xml_etree_c.py @@ -4,10 +4,11 @@ from test import test_support from test.test_support import precisionbigmemtest, _2G import unittest -cET = test_support.import_module('xml.etree.cElementTree') +# PyPy: was: cET = test_support.import_module('xml.etree.cElementTree') +cET = None -@unittest.skip('requires _elementtree') +@unittest.skipUnless(cET, 'requires _elementtree') class MiscTests(unittest.TestCase): # Issue #8651. @precisionbigmemtest(size=_2G + 100, memuse=1) |