test_contextlib.py | 492 def _exit(*args, **kwds): function in function:TestExitStack.test_callback 498 f = stack.callback(_exit, *args, **kwds) 500 f = stack.callback(_exit, *args) 502 f = stack.callback(_exit, **kwds) 504 f = stack.callback(_exit) 505 self.assertIs(f, _exit) 507 self.assertIs(wrapper.__wrapped__, _exit) 508 self.assertNotEqual(wrapper.__name__, _exit.__name__) 509 self.assertIsNone(wrapper.__doc__, _exit.__doc__) 557 def _exit() member in class:TestExitStack.test_enter_context.TestCM 569 def _exit(): function in function:TestExitStack.test_close 580 def _exit(): function in function:TestExitStack.test_pop_all [all...] |