New submission from STINNER Victor <vstin...@python.org>:
Reproduce the issue: --- # go to Python source tree mkdir build cd build ../configure make ./python -m test test_sys --- Output: ====================================================================== FAIL: test_stdlib_dir (test.test_sys.SysModuleTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/vstinner/python/main/Lib/test/test_sys.py", line 1005, in test_stdlib_dir self.assertEqual(actual, expected) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: '/home/vstinner/python/main/build/../Lib' != '/home/vstinner/python/main/Lib' - /home/vstinner/python/main/build/../Lib ? --------- + /home/vstinner/python/main/Lib Attached PR fix the issue. ---------- components: Tests messages: 403389 nosy: vstinner priority: normal severity: normal status: open title: test_sys: test_stdlib_dir() fails when Python is built outside the source tree versions: Python 3.11 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45403> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com