Searched refs:ALWAYS_EQ (Results 1 – 19 of 19) sorted by relevance
/third_party/python/Lib/test/ |
D | seq_tests.py | 9 from test.support import ALWAYS_EQ, NEVER_EQ 228 self.assertNotIn(ALWAYS_EQ, self.type2test([])) 229 self.assertIn(ALWAYS_EQ, self.type2test([1])) 230 self.assertIn(1, self.type2test([ALWAYS_EQ])) 232 self.assertNotIn(ALWAYS_EQ, self.type2test([NEVER_EQ])) 233 self.assertIn(NEVER_EQ, self.type2test([ALWAYS_EQ])) 354 self.assertEqual(a.count(ALWAYS_EQ), 9) 355 self.assertEqual(self.type2test([ALWAYS_EQ, ALWAYS_EQ]).count(1), 2) 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) [all …]
|
D | test_compare.py | 2 from test.support import ALWAYS_EQ 110 self.assertEqual(x, ALWAYS_EQ) 111 self.assertEqual(ALWAYS_EQ, x) 113 self.assertEqual(y, ALWAYS_EQ) 114 self.assertEqual(ALWAYS_EQ, y)
|
D | list_tests.py | 10 from test.support import ALWAYS_EQ, NEVER_EQ 322 a.remove(ALWAYS_EQ) 324 a = self.type2test([ALWAYS_EQ]) 327 a = self.type2test([ALWAYS_EQ]) 331 self.assertRaises(ValueError, a.remove, ALWAYS_EQ)
|
D | test_iter.py | 7 from test.support import check_free_after_iterating, ALWAYS_EQ, NEVER_EQ 657 self.assertIn(ALWAYS_EQ, IteratorProxyClass(iter([1]))) 658 self.assertIn(ALWAYS_EQ, SequenceProxyClass([1])) 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_range.py | 7 from test.support import ALWAYS_EQ 306 self.assertEqual(range(10).index(ALWAYS_EQ), 0) 357 self.assertEqual(range(10).count(ALWAYS_EQ), 10) 459 self.assertIn(ALWAYS_EQ, range(3))
|
D | test_traceback.py | 11 from test.support import Error, captured_output, cpython_only, ALWAYS_EQ 1040 self.assertEqual(f, ALWAYS_EQ) 1328 self.assertEqual(exc, ALWAYS_EQ)
|
D | test_weakref.py | 14 from test.support import script_helper, ALWAYS_EQ 885 self.assertTrue(a == ALWAYS_EQ) 886 self.assertFalse(a != ALWAYS_EQ) 1198 _eq(a, ALWAYS_EQ)
|
D | test_xmlrpc.py | 21 from test.support import ALWAYS_EQ, LARGEST, SMALLEST 560 self.assertTrue(dtime == ALWAYS_EQ) 561 self.assertFalse(dtime != ALWAYS_EQ)
|
D | test_inspect.py | 28 from test.support import MISSING_C_DOCSTRINGS, ALWAYS_EQ 3210 self.assertTrue(inspect.signature(foo) == ALWAYS_EQ) 3211 self.assertFalse(inspect.signature(foo) != ALWAYS_EQ) 3651 self.assertTrue(p == ALWAYS_EQ) 3652 self.assertFalse(p != ALWAYS_EQ) 3999 self.assertTrue(ba == ALWAYS_EQ) 4000 self.assertFalse(ba != ALWAYS_EQ)
|
D | test_enum.py | 11 from test.support import ALWAYS_EQ, check__all__, threading_helper 1641 self.assertEqual(ALWAYS_EQ, OrdinaryEnum.a) 1642 self.assertEqual(OrdinaryEnum.a, ALWAYS_EQ)
|
D | datetimetester.py | 23 from test.support import is_resource_enabled, ALWAYS_EQ, LARGEST, SMALLEST 350 self.assertTrue(tz == ALWAYS_EQ) 351 self.assertFalse(tz != ALWAYS_EQ) 454 self.assertTrue(me == ALWAYS_EQ) 455 self.assertFalse(me != ALWAYS_EQ)
|
D | test_urllib2.py | 645 (req, support.ALWAYS_EQ, 302, "", {}))]
|
/third_party/python/Lib/tkinter/test/test_tkinter/ |
D | test_font.py | 4 from test.support import requires, gc_collect, ALWAYS_EQ 74 self.assertEqual(font1, ALWAYS_EQ)
|
D | test_variables.py | 8 from test.support import ALWAYS_EQ 84 self.assertEqual(v1, ALWAYS_EQ)
|
/third_party/python/Lib/test/test_email/ |
D | test_headerregistry.py | 10 from test.support import ALWAYS_EQ 1590 self.assertTrue(a == ALWAYS_EQ) 1599 self.assertTrue(g == ALWAYS_EQ)
|
/third_party/python/Lib/unittest/test/testmock/ |
D | testmock.py | 6 from test.support import ALWAYS_EQ 354 self.assertTrue(mm == ALWAYS_EQ) 355 self.assertFalse(mm != ALWAYS_EQ) 364 self.assertTrue(call1 == ALWAYS_EQ) 365 self.assertFalse(call1 != ALWAYS_EQ)
|
/third_party/python/Lib/test/test_asyncio/ |
D | test_events.py | 37 from test.support import ALWAYS_EQ, LARGEST, SMALLEST 2436 self.assertTrue(h1 == ALWAYS_EQ) 2437 self.assertFalse(h1 != ALWAYS_EQ)
|
/third_party/python/Lib/test/support/ |
D | __init__.py | 1807 ALWAYS_EQ = _ALWAYS_EQ() variable
|
/third_party/python/Doc/library/ |
D | test.rst | 376 .. data:: ALWAYS_EQ 383 Object that is not equal to anything (even to :data:`ALWAYS_EQ`).
|