summaryrefslogtreecommitdiff
path: root/Lib/test/test_os.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-06-30 17:11:08 +0000
committerBenjamin Peterson <benjamin@python.org>2010-06-30 17:11:08 +0000
commit10947a6416b12f047ebe6890deeb1a3e6ce62a73 (patch)
tree5bacc22beb772b366e1bbc62b30d2f5176fe325a /Lib/test/test_os.py
parent070f0abc1978f87922cc200a6caeb37852d526ad (diff)
downloadcpython-git-10947a6416b12f047ebe6890deeb1a3e6ce62a73.tar.gz
mark test depending on ref counting
Diffstat (limited to 'Lib/test/test_os.py')
-rw-r--r--Lib/test/test_os.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_os.py b/Lib/test/test_os.py
index 67de20ec3f..a60107baa0 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)