From: Stefan Behnel Date: Tue, 20 Oct 2009 18:06:22 +0000 (+0200) Subject: test simplification X-Git-Tag: 0.13.beta0~2^2~121^2~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e8aa2fe4bcc7a0dff37a4ed1d73c44d64d6b876d;p=cython.git test simplification --- 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?"