New submission from Steffen Daode Nurpmeso <sdao...@googlemail.com>:
I'm now using a completely brain-damaged way to have two 3.x python(1)s installed: symlinks; i.e. 3.2rc2 is ~/usr/opt/.py-3.2rc2 and tip is ~/usr/opt/.cpython. Whenever i need to test the thing i'm working on in my free time with the old version i'm temporarily replacing a ~/usr/opt/py3k symlink (which points to .cpython otherwise). (I'm doing this because only py3k is in $PATH, $LD_LIBRARY_PATH etc., but like i said...) I don't know if you consider this to be misbehaviour, but a moment ago i've run the test suite on an installed python(1) tip and got these symlink-path is not --prefix-path related errors, just if anyone is concerned (stripping output a bit): ====================================================================== FAIL: test_getsourcefile (test.test_inspect.TestRetrievingSourceCode) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/steffen/usr/opt/.cpython/lib/python3.3/test/test_inspect.py", line 279, in test_getsourcefile self.assertEqual(normcase(inspect.getsourcefile(mod.spam)), modfile) AssertionError: '/Users/steffen/usr/opt/.cpython/lib/python3.3/test/inspect_fodder.py' != '/Users/steffen/usr/opt/py3k/lib/python3.3/test/inspect_fodder.py' - /Users/steffen/usr/opt/.cpython/lib/python3.3/test/inspect_fodder.py ? -- ^^^^ + /Users/steffen/usr/opt/py3k/lib/python3.3/test/inspect_fodder.py ? ^^ ====================================================================== FAIL: test_findsource_code_in_linecache (test.test_inspect.TestBuggyCases) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/steffen/usr/opt/.cpython/lib/python3.3/test/test_inspect.py", line 387, in test_findsource_code_in_linecache self.assertRaises(IOError, inspect.findsource, co) AssertionError: IOError not raised by findsource ====================================================================== FAIL: test_stack (test.test_inspect.TestInterpreterStack) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/steffen/usr/opt/.cpython/lib/python3.3/test/test_inspect.py", line 163, in test_stack (modfile, 16, 'eggs', [' st = inspect.stack()\n'], 0)) AssertionError: Tuples differ: ('/Users/steffen/usr/opt/.cpyt... != ('/Users/steffen/usr/opt/py3k/... First differing element 0: /Users/steffen/usr/opt/.cpython/lib/python3.3/test/inspect_fodder.py /Users/steffen/usr/opt/py3k/lib/python3.3/test/inspect_fodder.py - ('/Users/steffen/usr/opt/.cpython/lib/python3.3/test/inspect_fodder.py', ? -- ^^^^ + ('/Users/steffen/usr/opt/py3k/lib/python3.3/test/inspect_fodder.py', ? ^^ ====================================================================== FAIL: test_trace (test.test_inspect.TestInterpreterStack) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/steffen/usr/opt/.cpython/lib/python3.3/test/test_inspect.py", line 174, in test_trace (modfile, 43, 'argue', [' spam(a, b, c)\n'], 0)) AssertionError: Tuples differ: ('/Users/steffen/usr/opt/.cpyt... != ('/Users/steffen/usr/opt/py3k/... First differing element 0: /Users/steffen/usr/opt/.cpython/lib/python3.3/test/inspect_fodder.py /Users/steffen/usr/opt/py3k/lib/python3.3/test/inspect_fodder.py - ('/Users/steffen/usr/opt/.cpython/lib/python3.3/test/inspect_fodder.py', ? -- ^^^^ + ('/Users/steffen/usr/opt/py3k/lib/python3.3/test/inspect_fodder.py', ? ^^ ... ====================================================================== FAIL: test_loop_caller_importing (test.test_trace.TestCallers) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/steffen/usr/opt/py3k/lib/python3.3/test/test_trace.py", line 286, in test_loop_caller_importing self.assertEqual(self.tracer.results().callers, expected) AssertionError: {(('/Users/steffen/usr/opt/.cpython/lib/python3.3/trace.py', 'trace', 'Trace.run [truncated]... != {(('/Users/steffen/usr/opt/py3k/lib/python3.3/test/test_trace.py', 'test_trace', [truncated]... ---------- components: Tests messages: 130452 nosy: sdaoden priority: normal severity: normal status: open title: Test suite not symlink-install clean type: behavior versions: Python 3.3 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11452> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com