Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ assertLess
Method
assertLess
Lib/test/test_pathlib/test_pathlib.py:399–401 ·
view source on GitHub ↗
(a, b)
Source
from the content-addressed store, hash-verified
397
def
test_ordering_common(self):
398
# Ordering is tuple-alike.
399
def
assertLess(a, b):
400
self.assertLess(a, b)
401
self.assertGreater(b, a)
402
P = self.cls
403
a = P(
'a'
)
404
b = P(
'a/b'
)
Callers
15
test_incremental_gc_handles_fast_cycle_creation
Method · 0.45
test_line_number_updates_in_same_frame
Method · 0.45
test_get_count
Method · 0.45
test_communicate_timeout_large_input
Method · 0.45
test_run_with_shell_timeout_and_capture_output
Method · 0.45
check_lnotab
Method · 0.45
test_cmp_to_key
Method · 0.45
test_create_read
Method · 0.45
test_create_write
Method · 0.45
test_read
Method · 0.45
test_write
Method · 0.45
test_attributes
Method · 0.45
Calls
1
assertGreater
Method · 0.80
Tested by
no test coverage detected