Index: Lib/test/test_sys.py =================================================================== --- Lib/test/test_sys.py (revision 88150) +++ Lib/test/test_sys.py (working copy) @@ -215,6 +215,8 @@ self.assertEqual(sys.getrecursionlimit(), 10000) sys.setrecursionlimit(oldlimit) + @unittest.skipIf(sys.gettrace(), 'fatal error if run with a trace function') + @test.support.cpython_only def test_recursionlimit_recovery(self): # NOTE: this test is slightly fragile in that it depends on the current # recursion count when executing the test being low enough so as to