Closed befeleme closed 7 months ago
Hmmm ... I get a different result, is yours reproducible?
$ PYTHONHASHSEED=0 ~/projects/cpython/main/python tests/test_all.py
............................s.................................................s....s.......s........................s.ssssss..........sss..Fs..ss.........................s..........s..........................ssss.........ss.............
======================================================================
FAIL: test_script_run (test_scripts.ScriptTestCase.test_script_run)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/disk2/vinay/projects/distlib/tests/test_scripts.py", line 343, in test_script_run
self.assertIn(b'[Interpreter(id=0, isolated=None)]', stderr)
~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: b'[Interpreter(id=0, isolated=None)]' not found in b'[Interpreter(0)]\n'
----------------------------------------------------------------------
Ran 236 tests in 26.112s
FAILED (failures=1, skipped=25)
That's just a change in the textual representation, which I'll update the test to handle. I don't get the
No module named 'test.support.interpreters'
exception.
Yes, it's consistent. Apparently, test/support/interpreters
became a module in Python 3.13.0a3 and wasn't being installled: https://github.com/python/cpython/issues/115421 This will be fixed in the next alpha.
Describe the bug
Distlib's test fails with Python 3.13.0a3. Is has run successfully with the previous alpha.
To Reproduce Steps to reproduce the behavior:
tox -e py313
Environment