#1704474: mark refleak test as specific to CPython

Patch by Christian Hudon.
This commit is contained in:
Andrew Kuchling 2014-04-15 16:44:43 -04:00
parent 68e85e5834
commit cb4069c329
1 changed files with 1 additions and 0 deletions

View File

@ -383,6 +383,7 @@ class TestOptionParser(BaseTest):
self.assertRaises(self.parser.remove_option, ('foo',), None,
ValueError, "no such option 'foo'")
@test_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