Home
last modified time | relevance | path

Searched refs:NEVER_EQ (Results 1 – 7 of 7) sorted by relevance

/third_party/python/Lib/test/
Dseq_tests.py9 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)
Dtest_contains.py3 from test.support import NEVER_EQ
73 values = float('nan'), 1, None, 'abc', NEVER_EQ
Dlist_tests.py10 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])
Dtest_iter.py7 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]))
Dtest_collections.py1578 obj = support.NEVER_EQ
/third_party/python/Lib/test/support/
D__init__.py1820 NEVER_EQ = _NEVER_EQ() variable
/third_party/python/Doc/library/
Dtest.rst381 .. data:: NEVER_EQ