https://github.com/python/cpython/commit/03503dccd0aa6d8895614e80ae9c78c03c813d45 commit: 03503dccd0aa6d8895614e80ae9c78c03c813d45 branch: main author: sai <[email protected]> committer: ZeroIntensity <[email protected]> date: 2026-08-30T21:43:38Z summary:
gh-156676: Skip `test_pyinit_function_raises_exception` for other implementations (GH-156684) See also https://github.com/RustPython/RustPython/pull/8605 files: M Lib/test/test_import/__init__.py diff --git a/Lib/test/test_import/__init__.py b/Lib/test/test_import/__init__.py index 7e92028cb955cb2..65c425c1d29721b 100644 --- a/Lib/test/test_import/__init__.py +++ b/Lib/test/test_import/__init__.py @@ -2544,6 +2544,7 @@ def test_disallowed_reimport(self): excsnap = _interpreters.run_string(interpid, script) self.assertIsNot(excsnap, None) + @cpython_only @requires_subinterpreters def test_pyinit_function_raises_exception(self): # gh-144601: PyInit functions that raised exceptions would cause a _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
