cpython
cpython copied to clipboard
Windows debug main test_os, test_venv failures
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 raised
python -m test.test_os
crash box EDIT: this is with direct unittest run
minkernal\crts\ucrt\src\appcrt\lowio\isatty.cpp
Assertion failed (fh>=0 && (unsigned)fh < (unsigned)_nhandle
python -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 invalid
test 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_prefix
python -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-116925
- gh-117065
- gh-117076
- gh-117116