Home
last modified time | relevance | path

Searched refs:MyDefDict (Results 1 – 2 of 2) sorted by relevance

/external/python/typing/typing_extensions/src/
Dtest_typing_extensions.py773 class MyDefDict(typing_extensions.DefaultDict[str, int]): class
776 dd = MyDefDict()
777 self.assertIsInstance(dd, MyDefDict)
779 self.assertIsSubclass(MyDefDict, collections.defaultdict)
780 self.assertNotIsSubclass(collections.defaultdict, MyDefDict)
/external/python/cpython3/Lib/test/
Dtest_typing.py3639 class MyDefDict(typing.DefaultDict[str, int]): class
3642 dd = MyDefDict()
3643 self.assertIsInstance(dd, MyDefDict)
3645 self.assertIsSubclass(MyDefDict, collections.defaultdict)
3646 self.assertNotIsSubclass(collections.defaultdict, MyDefDict)