mirror of
https://github.com/python/cpython.git
synced 2025-09-29 19:56:59 +00:00
mark test depending on ref counting
This commit is contained in:
parent
070f0abc19
commit
10947a6416
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue