]> granicus.if.org Git - python/commitdiff
mark test depending on ref counting
authorBenjamin Peterson <benjamin@python.org>
Wed, 30 Jun 2010 17:11:08 +0000 (17:11 +0000)
committerBenjamin Peterson <benjamin@python.org>
Wed, 30 Jun 2010 17:11:08 +0000 (17:11 +0000)
Lib/test/test_os.py

index 67de20ec3f9ef00c11ca59cef91dc8a910fbb3c3..a60107baa050865afc47eb38be2358ef0c4c3212 100644 (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)