[pypy-svn] r60000 - pypy/trunk/lib-python/modified-2.5.2/test

fijal at codespeak.net fijal at codespeak.net
Wed Nov 19 21:24:25 CET 2008


Author: fijal
Date: Wed Nov 19 21:24:23 2008
New Revision: 60000

Modified:
   pypy/trunk/lib-python/modified-2.5.2/test/test_optparse.py
Log:
Skip test relying on refcounting (and testing fallbacks which are not necessary
on top of pypy)


Modified: pypy/trunk/lib-python/modified-2.5.2/test/test_optparse.py
==============================================================================
--- pypy/trunk/lib-python/modified-2.5.2/test/test_optparse.py	(original)
+++ pypy/trunk/lib-python/modified-2.5.2/test/test_optparse.py	Wed Nov 19 21:24:23 2008
@@ -393,7 +393,8 @@
     def test_remove_nonexistent(self):
         self.assertRaises(self.parser.remove_option, ('foo',), None,
                           ValueError, "no such option 'foo'")
-
+        
+    @test_support.impl_detail("refcounting")
     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