Home
last modified time | relevance | path

Searched refs:ann_module (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_opcodes.py4 from test import ann_module, support
27 with open(ann_module.__file__) as f:
29 co = compile(txt, ann_module.__file__, 'exec')
Dtest_typing.py1735 from test import ann_module, ann_module2, ann_module3
1803 self.assertEqual(gth(ann_module), ann_module_type_hints)
1817 self.assertEqual(gth(ann_module.C), # gth will find the right globalns
1818 {'y': Optional[ann_module.C]})
1819 self.assertIsInstance(gth(ann_module.j_class), dict)
1820 self.assertEqual(gth(ann_module.M), {'123': 123, 'o': type})
1821 self.assertEqual(gth(ann_module.D),
1822 {'j': str, 'k': str, 'y': Optional[ann_module.C]})
1823 self.assertEqual(gth(ann_module.Y), {'z': int})
1824 self.assertEqual(gth(ann_module.h_class),
[all …]
Dtest_grammar.py13 import test.ann_module as ann_module namespace
357 self.assertEqual(ann_module.__annotations__,
359 self.assertEqual(ann_module.M.__annotations__,