Merged revisions 82403 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82403 | benjamin.peterson | 2010-06-30 12:11:08 -0500 (Wed, 30 Jun 2010) | 1 line

  mark test depending on ref counting
........
This commit is contained in:
Benjamin Peterson 2010-06-30 17:39:45 +00:00
parent d24305489b
commit 1cc6df97bc

View File

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