New submission from STINNER Victor <vstin...@python.org>: vstinner@DESKTOP-DK7VBIL C:\vstinner\python\master>type bisect3 test.test_signal.RaiseSignalTest.test_handler test.test_interpreters.TestInterpreterAttrs.test_main_id test.test_interpreters.TestInterpreterClose.test_from_sibling
vstinner@DESKTOP-DK7VBIL C:\vstinner\python\master>python -m test test_interpreters test_signal --matchfile=bisect3 -v Running Debug|x64 interpreter... == CPython 3.10.0a7+ (heads/master:6bd9288b80, Apr 27 2021, 22:54:42) [MSC v.1928 64 bit (AMD64)] == Windows-10-10.0.19042-SP0 little-endian == cwd: C:\vstinner\python\master\build\test_python_5756æ == CPU count: 2 == encodings: locale=cp1252, FS=utf-8 0:00:00 Run tests sequentially 0:00:00 [1/2] test_interpreters test_main_id (test.test_interpreters.TestInterpreterAttrs) ... ok test_from_sibling (test.test_interpreters.TestInterpreterClose) ... ok ---------------------------------------------------------------------- Ran 2 tests in 0.277s OK 0:00:00 [2/2] test_signal test_handler (test.test_signal.RaiseSignalTest) ... ERROR ====================================================================== ERROR: test_handler (test.test_signal.RaiseSignalTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "C:\vstinner\python\master\lib\signal.py", line 47, in signal handler = _signal.signal(_enum_to_int(signalnum), _enum_to_int(handler)) TypeError: signal handler must be signal.SIG_IGN, signal.SIG_DFL, or a callable object ---------------------------------------------------------------------- Ran 1 test in 0.004s FAILED (errors=1) test test_signal failed test_signal failed == Tests result: FAILURE == 1 test OK. 1 test failed: test_signal Total duration: 689 ms Tests result: FAILURE ---------- components: Tests messages: 392147 nosy: vstinner priority: normal severity: normal status: open title: test_interpreters has side effects on test_signal versions: Python 3.10 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43963> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com