From e8aa2fe4bcc7a0dff37a4ed1d73c44d64d6b876d Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Tue, 20 Oct 2009 20:06:22 +0200 Subject: [PATCH] test simplification --- tests/run/r_mitch_chapman_2.pyx | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/tests/run/r_mitch_chapman_2.pyx b/tests/run/r_mitch_chapman_2.pyx index 4e3d19c6..e0596a14 100644 --- a/tests/run/r_mitch_chapman_2.pyx +++ b/tests/run/r_mitch_chapman_2.pyx @@ -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?" -- 2.26.2