diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index 4b7ded2aabd..14a9a7a0cf3 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py @@ -58,6 +58,7 @@ def test_closerange(self): os.closerange(first, first + 2) self.assertRaises(OSError, os.write, first, b"a") + @support.cpython_only def test_rename(self): path = support.TESTFN old = sys.getrefcount(path)