From: Benjamin Peterson Date: Wed, 30 Jun 2010 17:11:08 +0000 (+0000) Subject: mark test depending on ref counting X-Git-Tag: v2.7~32 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=10947a6416b12f047ebe6890deeb1a3e6ce62a73;p=thirdparty%2FPython%2Fcpython.git mark test depending on ref counting --- diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py index 67de20ec3f9e..a60107baa050 100644 --- a/Lib/test/test_os.py +++ b/Lib/test/test_os.py @@ -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)