]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-143001: Add @cpython_only to test_sys.test_current_frames() (#144004)
authorJeong, YunWon <69878+youknowone@users.noreply.github.com>
Thu, 22 Jan 2026 11:08:08 +0000 (20:08 +0900)
committerGitHub <noreply@github.com>
Thu, 22 Jan 2026 11:08:08 +0000 (12:08 +0100)
Lib/test/test_sys.py

index bdc0d75ba0cff91e14f4d4816bbcb6137aab19e0..a5708b298c84a5221e363d1d5d7dbee04b0dfd4c 100644 (file)
@@ -493,7 +493,7 @@ class SysModuleTest(unittest.TestCase):
             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):