[pypy-svn] r80012 - pypy/branch/fast-forward/lib-python/modified-2.7.0/test

afa at codespeak.net afa at codespeak.net
Sun Dec 12 23:12:21 CET 2010


Author: afa
Date: Sun Dec 12 23:12:20 2010
New Revision: 80012

Added:
   pypy/branch/fast-forward/lib-python/modified-2.7.0/test/test_optparse.py
      - copied, changed from r79877, pypy/branch/fast-forward/lib-python/2.7.0/test/test_optparse.py
Log:
Skip a test based on refcounting.


Copied: pypy/branch/fast-forward/lib-python/modified-2.7.0/test/test_optparse.py (from r79877, pypy/branch/fast-forward/lib-python/2.7.0/test/test_optparse.py)
==============================================================================
--- pypy/branch/fast-forward/lib-python/2.7.0/test/test_optparse.py	(original)
+++ pypy/branch/fast-forward/lib-python/modified-2.7.0/test/test_optparse.py	Sun Dec 12 23:12:20 2010
@@ -383,6 +383,7 @@
         self.assertRaises(self.parser.remove_option, ('foo',), None,
                           ValueError, "no such option 'foo'")
 
+    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