Home
last modified time | relevance | path

Searched refs:assertLess (Results 1 – 25 of 64) sorted by relevance

123

/third_party/python/Lib/test/
Dtest_platform.py417 self.assertLess(V('1.2.3'), V('1.2.10'))
419 self.assertLess(V('1.2spam'), V('1.2dev'))
420 self.assertLess(V('1.2dev'), V('1.2alpha'))
421 self.assertLess(V('1.2dev'), V('1.2a'))
422 self.assertLess(V('1.2alpha'), V('1.2beta'))
423 self.assertLess(V('1.2a'), V('1.2b'))
424 self.assertLess(V('1.2beta'), V('1.2c'))
425 self.assertLess(V('1.2b'), V('1.2c'))
426 self.assertLess(V('1.2c'), V('1.2RC'))
427 self.assertLess(V('1.2c'), V('1.2rc'))
[all …]
Dtest_threadsignals.py105 self.assertLess(dt, 3.0)
143 self.assertLess(dt, 3.0)
223 self.assertLess(self.end - self.start, 2.0)
Dtest_locale.py347 self.assertLess(locale.strcoll('a', 'b'), 0)
355 self.assertLess(locale.strxfrm('a'), locale.strxfrm('b'))
377 self.assertLess(locale.strcoll('à', 'b'), 0)
382 self.assertLess(locale.strxfrm('à'), locale.strxfrm('b'))
Dtest_tuple.py389 self.assertLess(a, b)
390 self.assertLess(b, c)
Dtest_selectors.py372 self.assertLess(time() - t, 0.5)
379 self.assertLess(time() - t, 0.5)
414 self.assertLess(time() - t, 5.0)
Dtest_signal.py89 self.assertLess(len(s), signal.NSIG)
118 self.assertLess(len(s), signal.NSIG)
1317 self.assertLess(num_received_signals, num_sent_signals)
Dtest_pathlib.py355 def assertLess(a, b): function
356 self.assertLess(a, b)
363 assertLess(a, b)
364 assertLess(a, c)
365 assertLess(a, d)
366 assertLess(b, c)
367 assertLess(c, d)
373 assertLess(a, b)
374 assertLess(a, c)
375 assertLess(a, d)
[all …]
Dtest_numeric_tower.py172 self.assertLess(first, second)
Dtest_time.py74 self.assertLess((sec_ns - ns), 50 ** 6, (sec, ns))
485 self.assertLess(stop - start, 0.020)
505 self.assertLess(stop - start, 0.020)
Dtest_csv.py1180 self.assertLess(delta, 3)
1196 self.assertLess(delta, 3)
1212 self.assertLess(delta, 5)
1229 self.assertLess(delta, 5)
Dtest_dbm_gnu.py106 self.assertLess(size2, size1)
Dtest_timeout.py140 self.assertLess(delta, timeout + self.fuzz)
Dtest_pprint.py870 self.assertLess(a, b)
871 self.assertLess(str(type(b)), str(type(a)))
Dlock_tests.py90 self.assertLess(actual, expected * 10.0)
205 self.assertLess(t2 - t1, 5)
Dtest_sys.py500 self.assertLess(sys.hash_info.modulus, 2**sys.hash_info.width)
529 self.assertLess(sys.hash_info.cutoff, 8)
865 self.assertLess(a, sys.gettotalrefcount())
Dtest_peepholer.py52 self.assertLess(max_bytecode, len(code.co_code))
Dtest_tracemalloc.py243 self.assertLess(size2, size)
282 self.assertLess(peak2, peak1)
Dtest_pydoc.py1111 self.assertLess(s.index('nickname'), s.index('firstname'))
1112 self.assertLess(s.index('firstname'), s.index('agegroup'))
Dtest_decimal.py1670 self.assertLess(da, dc)
1679 self.assertLess(23, dc)
1700 self.assertLess(da, 3.0)
1708 self.assertLess(0.25, db)
1749 self.assertLess(D(0), F(1,9999999999999999999999999999999999999))
1750 self.assertLess(F(-1,9999999999999999999999999999999999999), D(0))
1751 self.assertLess(F(0,1), D("1e" + str(etiny)))
1752 self.assertLess(D("-1e" + str(etiny)), F(0,1))
1753 self.assertLess(F(0,9999999999999999999999999), D("1e" + str(etiny)))
1754 self.assertLess(D("-1e" + str(etiny)), F(0,9999999999999999999999999))
[all …]
Dtest_socketserver.py517 self.assertLess(len(server._threads), 10)
/third_party/libinput/tools/
Dlibinput-record-verify-yaml.py287 self.assertLess(e["time"], 60.0)
319 self.assertLess(button, 0x160) # KEY_OK
335 self.assertLess(p, 300.0)
343 self.assertLess(t, 100.0)
369 self.assertLess(p, 300.0)
377 self.assertLess(t, 100.0)
389 self.assertLess(p, 300.0)
397 self.assertLess(t, 100.0)
509 self.assertLess(p, 360.0)
/third_party/python/Lib/unittest/test/
Dtest_case.py821 self.assertLess(len(msg), len(diff))
1054 self.assertLess(1, 2)
1060 self.assertRaises(self.failureException, self.assertLess, 2, 1)
1061 self.assertRaises(self.failureException, self.assertLess, 1, 1)
1068 self.assertLess(1.0, 1.1)
1074 self.assertRaises(self.failureException, self.assertLess, 1.1, 1.0)
1075 self.assertRaises(self.failureException, self.assertLess, 1.0, 1.0)
1082 self.assertLess('ant', 'bug')
1088 self.assertRaises(self.failureException, self.assertLess, 'bug', 'ant')
1089 self.assertRaises(self.failureException, self.assertLess, 'ant', 'ant')
[all …]
/third_party/python/Lib/test/test_importlib/
Dtest_windows.py131 self.assertLess(tagged_i, untagged_i)
/third_party/python/Lib/ctypes/test/
Dtest_callbacks.py179 self.assertLess(diff, 0.01, "%s not less than 0.01" % diff)
/third_party/python/Lib/idlelib/idle_test/
Dtest_autocomplete.py240 self.assertLess(len(small), len(large))

123