From 15c3cbade16c1692a2c3a0d511b8f1de9ca5586b Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Tue, 1 Jun 2010 08:55:30 +0200 Subject: [PATCH] fix test case --- tests/run/with_statement_module_level_T536.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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[:] -- 2.26.2