Commit 15c3cbad authored by Stefan Behnel's avatar Stefan Behnel

fix test case

parent 836a6789
......@@ -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[:]
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment