test simplification
authorStefan Behnel <scoder@users.berlios.de>
Tue, 20 Oct 2009 18:06:22 +0000 (20:06 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Tue, 20 Oct 2009 18:06:22 +0000 (20:06 +0200)
tests/run/r_mitch_chapman_2.pyx

index 4e3d19c62cfe7e8bfe1798d728a324c5e3cf6f95..e0596a14733b0f0a9eee918384447337ea12e970 100644 (file)
@@ -1,15 +1,11 @@
 __doc__ = u"""
     >>> boolExpressionsFail()
-    u'Not 2b'
+    'Not 2b'
 """
 
-import sys
-if sys.version_info[0] >= 3:
-    __doc__ = __doc__.replace(u" u'", u" '")
-
 def boolExpressionsFail():
     dict = {1: 1}
     if not "2b" in dict:
-        return u"Not 2b"
+        return "Not 2b"
     else:
-        return u"2b?"
+        return "2b?"