Fix broken contextlib test from last checkin (I'd've sworn I tested that before checking it in. . .)

This commit is contained in:
Nick Coghlan 2006-04-24 04:59:28 +00:00
parent da2268feec
commit 0e01962d51

View file

@ -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):