Lines Matching refs:contextmanager
2129 @skipUnless(hasattr(typing, 'ContextManager'),2130 'requires typing.ContextManager')2132 @contextlib.contextmanager2137 self.assertIsInstance(cm, typing.ContextManager)2138 self.assertNotIsInstance(42, typing.ContextManager)2414 self.assertIn('ContextManager', a)