From 00aead893731dc99a3c34a56ed4bfedd61eaf950 Mon Sep 17 00:00:00 2001
From: Stefan Behnel <scoder@users.berlios.de>
Date: Thu, 15 May 2008 11:36:04 +0200
Subject: [PATCH] test fix

---
 tests/run/ct_DEF.pyx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/run/ct_DEF.pyx b/tests/run/ct_DEF.pyx
index 39e577b96..97c800467 100644
--- a/tests/run/ct_DEF.pyx
+++ b/tests/run/ct_DEF.pyx
@@ -16,7 +16,7 @@ __doc__ = u"""
     >>> f()
     12.5
     >>> s()
-    u'spam'
+    b'spam'
     >>> two()
     2
     >>> five()
@@ -28,8 +28,8 @@ __doc__ = u"""
 """
 
 import sys
-if sys.version_info[0] >= 3:
-    __doc__ = __doc__.replace(u" u'", u" '")
+if sys.version_info[0] < 3:
+    __doc__ = __doc__.replace(u" b'", u" '")
 
 import sys
 if sys.version_info[0] >= 3:
@@ -46,7 +46,7 @@ DEF INT3 = 042
 DEF INT4 = -0x42
 DEF LONG = 666L
 DEF FLOAT = 12.5
-DEF STR = u"spam"
+DEF STR = "spam"
 DEF TWO = TUPLE[1]
 DEF FIVE = TWO + 3
 DEF TRUE  = TRUE_FALSE[0]
-- 
2.30.9