Searched refs:MyDict (Results 1 – 10 of 10) sorted by relevance
/external/python/six/ |
D | test_six.py | 391 class MyDict(dict): class 397 f = MyDict.iterlists 398 del MyDict.iterlists 399 setattr(MyDict, stock_method_name('lists'), f) 401 d = MyDict(zip(range(10), reversed(range(10)))) 412 old = getattr(MyDict, stock_method_name(name)) 413 monkeypatch.setattr(MyDict, stock_method_name(name), with_kw) 751 class MyDict(dict): class 758 namespace = MyDict(super().__prepare__(name, bases), cls=cls, bases=bases) 772 assert isinstance(getattr(X, 'namespace', {}), MyDict)
|
/external/python/jinja/tests/ |
D | test_tests.py | 7 class MyDict(dict): class 113 assert t.render(mydict=MyDict(), complex=complex(1, 2)) == str(expect)
|
/external/python/cpython2/Lib/test/ |
D | pickletester.py | 968 d = MyDict() 972 self.assertIsInstance(x, MyDict) 977 d = MyDict() 982 self.assertIsInstance(x, MyDict) 1046 self.check_recursive_collection_and_inst(MyDict.fromkeys) 1669 class MyDict(dict): class 1675 MyTuple, MyList, MyDict]
|
D | test_dict.py | 686 class MyDict(dict): class 688 self._tracked(MyDict())
|
D | test_functools.py | 36 class MyDict(dict): class 221 f.__setstate__((capture, MyTuple((1,)), MyDict(a=10), None))
|
/external/python/cpython3/Lib/test/ |
D | pickletester.py | 1562 d = MyDict() 1567 self.assertIsInstance(x, MyDict) 1572 d = MyDict() 1578 self.assertIsInstance(x, MyDict) 1642 self.check_recursive_collection_and_inst(MyDict.fromkeys) 3085 class MyDict(dict): class 3097 MyTuple, MyList, MyDict, MySet, MyFrozenSet]
|
D | test_typing.py | 1872 class MyDict(typing.Dict[T, T]): ... class 1873 self.assertIs(MyDict[int]().__class__, MyDict) 1874 self.assertEqual(MyDict[int]().__orig_class__, MyDict[int]) 3258 class MyDict(typing.Dict[str, int]): class 3261 d = MyDict() 3262 self.assertIsInstance(d, MyDict) 3265 self.assertIsSubclass(MyDict, dict) 3266 self.assertNotIsSubclass(dict, MyDict)
|
D | test_dict.py | 949 class MyDict(dict): class 951 self._tracked(MyDict())
|
D | test_functools.py | 56 class MyDict(dict): class 314 f.__setstate__((capture, MyTuple((1,)), MyDict(a=10), None))
|
/external/python/cpython3/Doc/library/ |
D | typing.rst | 284 class MyDict(Mapping[str, T]): 287 In this case ``MyDict`` has a single parameter, ``T``.
|