[New-bugs-announce] [issue17533] test_xpickle fails on OS X 10.5 with "cannot import name precisionbigmemtest"

Ned Deily report at bugs.python.org
Sat Mar 23 23:03:09 CET 2013


New submission from Ned Deily:

When running the OS X 32-bit-only installer 2.7.4rc1 on OS X 10.5, test_xpickle has many test failures all in CPicklePython25Compat.  Note, there is an Apple-supplied system Python 2.5 shipped on OS X 10.5. (There is also an Apple-supplied system Python 2.5 shipped on OS X 10.8, too, but for some reason, the test doesn't report a failure there.)  The use of precisionbigmemtest appears to have been added by 680959a3ae2e for Issue13555.

======================================================================
ERROR: test_attribute_name_interning (test.test_xpickle.CPicklePython25Compat)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/pickletester.py", line 983, in test_attribute_name_interning
    s = self.dumps(x, proto)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_xpickle.py", line 115, in dumps
    return self.send_to_worker(self.python, arg, proto)
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_xpickle.py", line 111, in send_to_worker
    raise RuntimeError(stderr)
RuntimeError: Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/test_xpickle.py", line 28, in <module>
    exec compile(open(mod_path).read(), mod_path, 'exec') in pickletester.__dict__
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/test/pickletester.py", line 9, in <module>
    from test.test_support import (TestFailed, have_unicode, TESTFN, _2G, _1M,
ImportError: cannot import name precisionbigmemtest

[...]
----------------------------------------------------------------------
Ran 180 tests in 5.033s

FAILED (errors=67)

----------
components: Tests
messages: 185099
nosy: benjamin.peterson, ned.deily, serhiy.storchaka
priority: normal
severity: normal
status: open
title: test_xpickle fails on OS X 10.5 with "cannot import name precisionbigmemtest"
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17533>
_______________________________________


More information about the New-bugs-announce mailing list