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

arigo at codespeak.net arigo at codespeak.net
Thu Oct 30 15:25:59 CET 2008


Author: arigo
Date: Thu Oct 30 15:25:58 2008
New Revision: 59564

Modified:
   pypy/trunk/lib-python/modified-2.5.2/test/string_tests.py
Log:
Definitely an impl detail.


Modified: pypy/trunk/lib-python/modified-2.5.2/test/string_tests.py
==============================================================================
--- pypy/trunk/lib-python/modified-2.5.2/test/string_tests.py	(original)
+++ pypy/trunk/lib-python/modified-2.5.2/test/string_tests.py	Thu Oct 30 15:25:58 2008
@@ -1149,9 +1149,10 @@
         self.assert_(s1 is not s2)
         self.assert_(type(s2) is t)
 
-        s1 = t("abcd")
-        s2 = t().join([s1])
-        self.assert_(s1 is s2)
+        if test_support.check_impl_detail:
+            s1 = t("abcd")
+            s2 = t().join([s1])
+            self.assert_(s1 is s2)
 
         # Should also test mixed-type join.
         if t is unicode:



More information about the Pypy-commit mailing list