https://github.com/python/cpython/commit/686b543e1ea13f0161dc46da59770be283c3b54c
commit: 686b543e1ea13f0161dc46da59770be283c3b54c
branch: 3.14
author: Miss Islington (bot) <[email protected]>
committer: ZeroIntensity <[email protected]>
date: 2026-08-30T22:10:27Z
summary:

[3.14] gh-156676: Skip `test_pyinit_function_raises_exception` for other 
implementations (GH-156684) (GH-156687)

See also https://github.com/RustPython/RustPython/pull/8605

(cherry picked from commit 03503dccd0aa6d8895614e80ae9c78c03c813d45)

Co-authored-by: sai <[email protected]>

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 ff19fd1c1c91e69..1d7f69d0a72d0e8 100644
--- a/Lib/test/test_import/__init__.py
+++ b/Lib/test/test_import/__init__.py
@@ -2559,6 +2559,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]

Reply via email to