summaryrefslogtreecommitdiff
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
commit86b0dbe4768486762fb4dc5c829fb699204835e7 (patch)
tree9bd84930765ccc11733bf35f3b76f75016ee114f
parenta0a4b382914069e809ddd25d4ff82199557a064a (diff)
downloadcpython-86b0dbe4768486762fb4dc5c829fb699204835e7.tar.gz
mark test depending on ref counting
-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)