diff options
author | Andrew Kuchling <amk@amk.ca> | 2014-04-15 20:44:43 (GMT) |
---|---|---|
committer | Andrew Kuchling <amk@amk.ca> | 2014-04-15 20:44:43 (GMT) |
commit | 45278a898c0d6ac5a38a07b525fb216d9afa36df (patch) | |
tree | eb0bb16d63e974da20baa8b7d1cbcc1079b4ba37 /Lib/test/test_optparse.py | |
parent | 764662020ba496164bf8dcb96d93c519f0968405 (diff) | |
download | cpython-45278a898c0d6ac5a38a07b525fb216d9afa36df.zip cpython-45278a898c0d6ac5a38a07b525fb216d9afa36df.tar.gz cpython-45278a898c0d6ac5a38a07b525fb216d9afa36df.tar.bz2 |
#1704474: mark refleak test as specific to CPython
Patch by Christian Hudon.
Diffstat (limited to 'Lib/test/test_optparse.py')
-rw-r--r-- | Lib/test/test_optparse.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_optparse.py b/Lib/test/test_optparse.py index 3c8c612..7621c24 100644 --- a/Lib/test/test_optparse.py +++ b/Lib/test/test_optparse.py @@ -395,6 +395,7 @@ class TestOptionParser(BaseTest): self.assertRaises(self.parser.remove_option, ('foo',), None, ValueError, "no such option 'foo'") + @support.impl_detail('Relies on sys.getrefcount', cpython=True) def test_refleak(self): # If an OptionParser is carrying around a reference to a large # object, various cycles can prevent it from being GC'd in |