HomeSort by relevance Sort by last modified time
    Searched full:__missing__ (Results 1 - 16 of 16) sorted by null

  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_userdict.py 152 # Make sure UserDict doesn't have a __missing__ method
153 self.assertEqual(hasattr(UserDict, "__missing__"), False)
155 # (D) subclass defines __missing__ method returning a value
156 # (E) subclass defines __missing__ method raising RuntimeError
157 # (F) subclass sets __missing__ instance variable (no effect)
158 # (G) subclass doesn't define __missing__ at a all
160 def __missing__(self, key): member in class:UserDictTest.test_missing.D
169 def __missing__(self, key): member in class:UserDictTest.test_missing.E
180 # An instance variable __missing__ should have no effect
181 self.__missing__ = lambda key: Non
    [all...]
test_dict.py 442 # Make sure dict doesn't have a __missing__ method
443 self.assertFalse(hasattr(dict, "__missing__"))
444 self.assertFalse(hasattr({}, "__missing__"))
446 # (D) subclass defines __missing__ method returning a value
447 # (E) subclass defines __missing__ method raising RuntimeError
448 # (F) subclass sets __missing__ instance variable (no effect)
449 # (G) subclass doesn't define __missing__ at a all
451 def __missing__(self, key): member in class:DictTest.test_missing.D
461 def __missing__(self, key): member in class:DictTest.test_missing.E
470 # An instance variable __missing__ should have no effec
    [all...]
test_defaultdict.py 54 self.assertRaises(KeyError, d1.__missing__, 42)
56 self.assertEqual(d1.__missing__(42), [])
test_collections.py 891 def __missing__(self, key): member in class:TestOrderedDict.test_pop.Missing
985 def __missing__(self, key): member in class:TestOrderedDict.test_setdefault.Missing
    [all...]
test_descr.py     [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_userdict.py 152 # Make sure UserDict doesn't have a __missing__ method
153 self.assertEqual(hasattr(UserDict, "__missing__"), False)
155 # (D) subclass defines __missing__ method returning a value
156 # (E) subclass defines __missing__ method raising RuntimeError
157 # (F) subclass sets __missing__ instance variable (no effect)
158 # (G) subclass doesn't define __missing__ at a all
160 def __missing__(self, key): member in class:UserDictTest.test_missing.D
169 def __missing__(self, key): member in class:UserDictTest.test_missing.E
180 # An instance variable __missing__ should have no effect
181 self.__missing__ = lambda key: Non
    [all...]
test_dict.py 442 # Make sure dict doesn't have a __missing__ method
443 self.assertFalse(hasattr(dict, "__missing__"))
444 self.assertFalse(hasattr({}, "__missing__"))
446 # (D) subclass defines __missing__ method returning a value
447 # (E) subclass defines __missing__ method raising RuntimeError
448 # (F) subclass sets __missing__ instance variable (no effect)
449 # (G) subclass doesn't define __missing__ at a all
451 def __missing__(self, key): member in class:DictTest.test_missing.D
461 def __missing__(self, key): member in class:DictTest.test_missing.E
470 # An instance variable __missing__ should have no effec
    [all...]
test_defaultdict.py 54 self.assertRaises(KeyError, d1.__missing__, 42)
56 self.assertEqual(d1.__missing__(42), [])
test_collections.py 891 def __missing__(self, key): member in class:TestOrderedDict.test_pop.Missing
985 def __missing__(self, key): member in class:TestOrderedDict.test_setdefault.Missing
    [all...]
test_descr.py     [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
UserDict.py 21 if hasattr(self.__class__, "__missing__"):
22 return self.__class__.__missing__(self, key)
collections.py 446 def __missing__(self, key): member in class:Counter
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
UserDict.py 21 if hasattr(self.__class__, "__missing__"):
22 return self.__class__.__missing__(self, key)
collections.py 446 def __missing__(self, key): member in class:Counter
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/sqlite3/test/
dbapi.py 268 def __missing__(self, key): member in class:CursorTests.CheckExecuteDictMapping_Mapping.D
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/sqlite3/test/
dbapi.py 268 def __missing__(self, key): member in class:CursorTests.CheckExecuteDictMapping_Mapping.D

Completed in 963 milliseconds