mark test depending on ref counting

This commit is contained in:
Benjamin Peterson 2010-06-30 17:11:08 +00:00
parent 070f0abc19
commit 10947a6416

View file

@ -48,6 +48,7 @@ class FileTests(unittest.TestCase):
os.closerange(first, first + 2)
self.assertRaises(OSError, os.write, first, "a")
@test_support.cpython_only
def test_rename(self):
path = unicode(test_support.TESTFN)
old = sys.getrefcount(path)