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

arigo at codespeak.net arigo at codespeak.net
Sat Oct 30 13:20:40 CEST 2010


Author: arigo
Date: Sat Oct 30 13:20:39 2010
New Revision: 78514

Added:
   pypy/trunk/lib-python/modified-2.5.2/test/test_dict.py
      - copied, changed from r78508, pypy/trunk/lib-python/2.5.2/test/test_dict.py
Log:
Implementation detail.


Copied: pypy/trunk/lib-python/modified-2.5.2/test/test_dict.py (from r78508, pypy/trunk/lib-python/2.5.2/test/test_dict.py)
==============================================================================
--- pypy/trunk/lib-python/2.5.2/test/test_dict.py	(original)
+++ pypy/trunk/lib-python/modified-2.5.2/test/test_dict.py	Sat Oct 30 13:20:39 2010
@@ -300,7 +300,8 @@
                     self.assertEqual(va, int(ka))
                     kb, vb = tb = b.popitem()
                     self.assertEqual(vb, int(kb))
-                    self.assert_(not(copymode < 0 and ta != tb))
+                    if test_support.check_impl_detail():
+                        self.assert_(not(copymode < 0 and ta != tb))
                 self.assert_(not a)
                 self.assert_(not b)
 



More information about the Pypy-commit mailing list