[New-bugs-announce] [issue8710] test_xpickle: compat tests: workaround for missing test_support
Stefan Krah
report at bugs.python.org
Fri May 14 12:55:57 CEST 2010
New submission from Stefan Krah <stefan-usenet at bytereef.org>:
When the system python does not have the Lib/test directory, the
compat tests are failing.
======================================================================
ERROR: test_attribute_name_interning (test.test_xpickle.CPicklePython26Compat)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/stefan/svn/trunk/Lib/test/pickletester.py", line 959, in test_attribute_name_interning
s = self.dumps(x, proto)
File "/home/stefan/svn/trunk/Lib/test/test_xpickle.py", line 114, in dumps
return self.send_to_worker(self.python, arg, proto)
File "/home/stefan/svn/trunk/Lib/test/test_xpickle.py", line 110, in send_to_worker
raise RuntimeError(stderr)
RuntimeError: Traceback (most recent call last):
File "/home/stefan/svn/trunk/Lib/test/test_xpickle.py", line 17, in <module>
from test import test_support
ImportError: No module named test
----------
components: Tests
messages: 105698
nosy: collinwinter, skrah
priority: normal
severity: normal
status: open
title: test_xpickle: compat tests: workaround for missing test_support
type: behavior
versions: Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8710>
_______________________________________
More information about the New-bugs-announce
mailing list