[pypy-svn] r80021 - pypy/branch/fast-forward/lib-python/modified-2.7.0/test
afa at codespeak.net
afa at codespeak.net
Mon Dec 13 08:26:22 CET 2010
Author: afa
Date: Mon Dec 13 08:26:20 2010
New Revision: 80021
Modified:
pypy/branch/fast-forward/lib-python/modified-2.7.0/test/test_optparse.py
Log:
Really apply decorator to the function :-(
Modified: pypy/branch/fast-forward/lib-python/modified-2.7.0/test/test_optparse.py
==============================================================================
--- pypy/branch/fast-forward/lib-python/modified-2.7.0/test/test_optparse.py (original)
+++ pypy/branch/fast-forward/lib-python/modified-2.7.0/test/test_optparse.py Mon Dec 13 08:26:20 2010
@@ -383,7 +383,7 @@
self.assertRaises(self.parser.remove_option, ('foo',), None,
ValueError, "no such option 'foo'")
- test_support.impl_detail("sys.getrefcount")
+ @test_support.impl_detail("sys.getrefcount")
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
More information about the Pypy-commit
mailing list