Searched refs:NEVER_EQ (Results 1 – 7 of 7) sorted by relevance
/third_party/python/Lib/test/ |
D | seq_tests.py | 9 from test.support import ALWAYS_EQ, NEVER_EQ 231 self.assertNotIn(NEVER_EQ, self.type2test([])) 232 self.assertNotIn(ALWAYS_EQ, self.type2test([NEVER_EQ])) 233 self.assertIn(NEVER_EQ, self.type2test([ALWAYS_EQ])) 356 self.assertEqual(self.type2test([ALWAYS_EQ, ALWAYS_EQ]).count(NEVER_EQ), 2) 357 self.assertEqual(self.type2test([NEVER_EQ, NEVER_EQ]).count(ALWAYS_EQ), 0) 389 self.assertEqual(self.type2test([ALWAYS_EQ, ALWAYS_EQ]).index(NEVER_EQ), 0) 390 self.assertRaises(ValueError, self.type2test([NEVER_EQ, NEVER_EQ]).index, ALWAYS_EQ)
|
D | test_contains.py | 3 from test.support import NEVER_EQ 73 values = float('nan'), 1, None, 'abc', NEVER_EQ
|
D | list_tests.py | 10 from test.support import ALWAYS_EQ, NEVER_EQ 320 self.assertRaises(ValueError, a.remove, NEVER_EQ) 328 a.remove(NEVER_EQ) 330 a = self.type2test([NEVER_EQ])
|
D | test_iter.py | 7 from test.support import check_free_after_iterating, ALWAYS_EQ, NEVER_EQ 659 self.assertNotIn(ALWAYS_EQ, IteratorProxyClass(iter([NEVER_EQ]))) 660 self.assertNotIn(ALWAYS_EQ, SequenceProxyClass([NEVER_EQ])) 661 self.assertIn(NEVER_EQ, IteratorProxyClass(iter([ALWAYS_EQ]))) 662 self.assertIn(NEVER_EQ, SequenceProxyClass([ALWAYS_EQ]))
|
D | test_collections.py | 1578 obj = support.NEVER_EQ
|
/third_party/python/Lib/test/support/ |
D | __init__.py | 1820 NEVER_EQ = _NEVER_EQ() variable
|
/third_party/python/Doc/library/ |
D | test.rst | 381 .. data:: NEVER_EQ
|