From: Stefan Behnel Date: Tue, 1 Jun 2010 06:55:30 +0000 (+0200) Subject: fix test case X-Git-Tag: 0.13.beta0~56 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=15c3cbade16c1692a2c3a0d511b8f1de9ca5586b;p=cython.git fix test case --- diff --git a/tests/run/with_statement_module_level_T536.pyx b/tests/run/with_statement_module_level_T536.pyx index e56c1c92..daf38d3d 100644 --- a/tests/run/with_statement_module_level_T536.pyx +++ b/tests/run/with_statement_module_level_T536.pyx @@ -3,7 +3,7 @@ __doc__ = """ >>> inner_result ['ENTER'] >>> result -EXIT [None, None, None] +['ENTER', 'EXIT (None, None, None)'] """ result = [] @@ -12,7 +12,7 @@ class ContextManager(object): def __enter__(self): result.append("ENTER") def __exit__(self, *values): - result.append("EXIT [%s]" % values) + result.append("EXIT %r" % (values,)) with ContextManager() as c: inner_result = result[:]