diff --git a/Lib/test/test_sys.py b/Lib/test/test_sys.py index 1d8e908efb0572..0e83e081d5e51d 100644 --- a/Lib/test/test_sys.py +++ b/Lib/test/test_sys.py @@ -494,7 +494,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):