https://github.com/python/cpython/commit/67535ab2d26c83dd4658f67d35f072fc563c618f
commit: 67535ab2d26c83dd4658f67d35f072fc563c618f
branch: main
author: Jeong, YunWon <[email protected]>
committer: vstinner <[email protected]>
date: 2026-01-22T12:08:08+01:00
summary:

gh-143001: Add @cpython_only to test_sys.test_current_frames() (#144004)

files:
M Lib/test/test_sys.py

diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py
index bdc0d75ba0cff9..a5708b298c84a5 100644
--- a/Lib/test/test_sys.py
+++ b/Lib/test/test_sys.py
@@ -493,7 +493,7 @@ def test_getframemodulename(self):
             self.assertIs(f, f2)
         self.assertIsNone(sys._getframemodulename(i))
 
-    # sys._current_frames() is a CPython-only gimmick.
+    @support.cpython_only  # sys._current_frames() is a CPython-only gimmick.
     @threading_helper.reap_threads
     @threading_helper.requires_working_threading()
     def test_current_frames(self):

_______________________________________________
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