Searched defs:__hash__ (Results 76 - 100 of 218) sorted by relevance

123456789

/prebuilts/gdb/linux-x86/lib/python2.7/test/
H A Dmapping_tests.py570 def __hash__(self): member in class:TestHashMappingProtocol.test_getitem.BadEq
579 def __hash__(self): member in class:TestHashMappingProtocol.test_getitem.BadHash
607 def __hash__(self): member in class:TestHashMappingProtocol.test_pop.BadHash
657 def __hash__(self): member in class:TestHashMappingProtocol.test_le.BadCmp
676 def __hash__(self): member in class:TestHashMappingProtocol.test_setdefault.BadHash
H A Dseq_tests.py217 __hash__ = None # Can't meet hash invariant requirements variable in class:CommonTest.test_contains_fake.AllEq
H A Dtest_binop.py211 __hash__ = None variable in class:Rat
H A Dtest_class.py84 def __hash__(self, *args): member in class:AllTests
400 self.assertCallStack([('__hash__', (testme,))])
535 # no __hash__
608 def __hash__(self): member in class:ClassTests.testHashComparisonOfMethods.A
H A Dtest_coercion.py313 __hash__ = None # Invalid cmp makes this unhashable variable in class:CoercionTest.test_cmptypes.WackyComparer
H A Dtest_fractions.py53 __hash__ = None variable in class:DummyFloat
89 __hash__ = None variable in class:DummyRational
H A Dtest_hash.py53 _default_hash = object.__hash__
58 def __hash__(self): member in class:FixedHash
65 __hash__ = None variable in class:OnlyEquality
66 del OnlyEquality.__hash__
76 __hash__ = None variable in class:OnlyCmp
77 del OnlyCmp.__hash__
84 __hash__ = None variable in class:NoHash
141 _default_hash = object.__hash__
H A Dtest_richcmp.py51 __hash__ = None # Vectors cannot be hashed variable in class:Vector
262 # __hash__). Complex numbers are a fine example of that.
H A Dtest_sort.py73 __hash__ = None # Silence Py3k warning variable in class:TestBase.testStressfully.Stable
/prebuilts/gdb/linux-x86/lib/python2.7/unittest/test/
H A Dtest_discovery.py109 __hash__ = None variable in class:TestDiscovery.test_find_tests_with_package.Module
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
H A D_weakrefset.py79 __hash__ = None variable in class:WeakSet
H A Dfractions.py508 def __hash__(self): member in class:Fraction
H A Dnumbers.py23 __hash__ = None variable in class:Number
H A Dsets.py319 # We inherit object.__hash__, so we must deny this explicitly
320 __hash__ = None variable in class:BaseSet
334 # not called __hash__ because a BaseSet should not be hashable;
392 def __hash__(self): member in class:ImmutableSet
556 def __hash__(self): member in class:_TemporarilyImmutableSet
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
H A Dmapping_tests.py570 def __hash__(self): member in class:TestHashMappingProtocol.test_getitem.BadEq
579 def __hash__(self): member in class:TestHashMappingProtocol.test_getitem.BadHash
607 def __hash__(self): member in class:TestHashMappingProtocol.test_pop.BadHash
657 def __hash__(self): member in class:TestHashMappingProtocol.test_le.BadCmp
676 def __hash__(self): member in class:TestHashMappingProtocol.test_setdefault.BadHash
H A Dseq_tests.py217 __hash__ = None # Can't meet hash invariant requirements variable in class:CommonTest.test_contains_fake.AllEq
H A Dtest_binop.py211 __hash__ = None variable in class:Rat
H A Dtest_class.py84 def __hash__(self, *args): member in class:AllTests
400 self.assertCallStack([('__hash__', (testme,))])
535 # no __hash__
608 def __hash__(self): member in class:ClassTests.testHashComparisonOfMethods.A
H A Dtest_coercion.py313 __hash__ = None # Invalid cmp makes this unhashable variable in class:CoercionTest.test_cmptypes.WackyComparer
H A Dtest_fractions.py53 __hash__ = None variable in class:DummyFloat
89 __hash__ = None variable in class:DummyRational
H A Dtest_hash.py53 _default_hash = object.__hash__
58 def __hash__(self): member in class:FixedHash
65 __hash__ = None variable in class:OnlyEquality
66 del OnlyEquality.__hash__
76 __hash__ = None variable in class:OnlyCmp
77 del OnlyCmp.__hash__
84 __hash__ = None variable in class:NoHash
141 _default_hash = object.__hash__
H A Dtest_richcmp.py51 __hash__ = None # Vectors cannot be hashed variable in class:Vector
262 # __hash__). Complex numbers are a fine example of that.
H A Dtest_sort.py73 __hash__ = None # Silence Py3k warning variable in class:TestBase.testStressfully.Stable
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/unittest/test/
H A Dtest_discovery.py109 __hash__ = None variable in class:TestDiscovery.test_find_tests_with_package.Module
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/
H A D_weakrefset.py79 __hash__ = None variable in class:WeakSet

Completed in 504 milliseconds

123456789