Kaydet (Commit) 0e01962d authored tarafından Nick Coghlan's avatar Nick Coghlan

Fix broken contextlib test from last checkin (I'd've sworn I tested that before…

Fix broken contextlib test from last checkin (I'd've sworn I tested that before checking it in. . .)
üst da2268fe
......@@ -152,6 +152,8 @@ class NestedTestCase(unittest.TestCase):
def a():
yield 1
class b(object):
def __context__(self):
return self
def __enter__(self):
return 2
def __exit__(self, *exc_info):
......
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