summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorAndrew Kuchling <amk@amk.ca>2014-04-16 01:21:56 (GMT)
committerAndrew Kuchling <amk@amk.ca>2014-04-16 01:21:56 (GMT)
commit42a17fa4fde35f214b18f4cd0f0c69e1117c4b8a (patch)
tree8f792f28f3e7650b2d2e4793e46f026aa1363d58 /Lib
parent1b28088fd35938cae197fbdf673aac995ecb1ab5 (diff)
parent45278a898c0d6ac5a38a07b525fb216d9afa36df (diff)
downloadcpython-42a17fa4fde35f214b18f4cd0f0c69e1117c4b8a.zip
cpython-42a17fa4fde35f214b18f4cd0f0c69e1117c4b8a.tar.gz
cpython-42a17fa4fde35f214b18f4cd0f0c69e1117c4b8a.tar.bz2
Merge from 3.4
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_optparse.py1
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