Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
python -m test -uall test_os
test test_os failed -- Traceback (most recent call last): File "f:\dev\3x\Lib\test\test_os.py", line 2229, in test_fdopen self.check_bool(os.fdopen, encoding="utf-8") ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "f:\dev\3x\Lib\test\test_os.py", line 2224, in check_bool with self.assertRaises(RuntimeWarning): f(fd, *args, **kwargs)AssertionError: RuntimeWarning not raisedpython -m test.test_os crash box EDIT: this is with direct unittest run
minkernal\crts\ucrt\src\appcrt\lowio\isatty.cppAssertion failed (fh>=0 && (unsigned)fh < (unsigned)_nhandlepython -m test test_venv
Traceback (most recent call last): File "f:\dev\3x\Lib\multiprocessing\process.py", line 314, in _bootstrap self.run() ~~~~~~~~^^ File "f:\dev\3x\Lib\multiprocessing\process.py", line 108, in run self._target(*self._args, **self._kwargs) ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "f:\dev\3x\Lib\test\_test_venv_multiprocessing.py", line 10, in drain_queue if code != queue.get(): ~~~~~~~~~^^ File "f:\dev\3x\Lib\multiprocessing\queues.py", line 102, in get with self._rlock: res = self._recv_bytes() File "f:\dev\3x\Lib\multiprocessing\synchronize.py", line 98, in __exit__ return self._semlock.__exit__(*args) ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^OSError: [WinError 6] The handle is invalidtest test_venv failed -- Traceback (most recent call last): File "f:\dev\3x\Lib\test\test_venv.py", line 277, in test_prefixes self.assertEqual(out.strip(), expected.encode(), prefix) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^AssertionError: b'f:\\dev\\3x' != b'f:\\dev\\3x\\' : base_prefixpython -m test -uall -v test_venv hangs with test_with_pip (test.test_venv.EnsurePipTest.test_with_pip)
python -m test.test_venv -vv shows traceback and then hangs
Linked PRs
- gh-115538: Emit warning when use bool as fd in _io.WindowsConsoleIO #116925
- gh-115538: Remove PYTHONHOME's trailing slash in generated python.bat #117065
- gh-115538: Using pathlib to compare prefixes in test_venv #117076
- gh-115538: Remove PYTHONHOME when running test_venv.test_multiprocessing_recursion #117116
- [3.11] gh-115538: Use isolate mode when running venv test_multiproces… #117263
- [3.12] gh-115538: Use isolate mode when running venv test_multiproces… #117264
- [3.11] [3.12] gh-115538: Use isolate mode when running venv test_multiproces… (GH-117264) #117265
- [3.12] gh-115538: Use pathlib to compare prefixes in test_venv (GH-117076) #117461
- [3.11] gh-115538: Use pathlib to compare prefixes in test_venv (GH-117076) #117462