Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ splitlines
Method
splitlines
Lib/test/test_bytes.py:2677–2680 ·
view source on GitHub ↗
(b, a)
Source
from the content-addressed store, hash-verified
2675
assert len(a.split(b
'\xdd'
)) == 1
2676
2677
def
splitlines(b, a):
2678
b.wait()
2679
l = len(a.splitlines())
2680
assert l > 1 or l == 0
2681
2682
def
startswith(b, a):
2683
b.wait()
Callers
15
assert_exc_string
Method · 0.45
list_cases
Function · 0.45
check_usage
Method · 0.45
openhook
Method · 0.45
get_output
Method · 0.45
test_encoding_warning
Method · 0.45
test_restore_signals
Method · 0.45
test_close_fds_when_max_fd_is_lowered
Method · 0.45
test_invocation
Method · 0.45
test_ordered_dict_reader
Method · 0.45
test_issue20602
Method · 0.45
check
Method · 0.45
Calls
1
wait
Method · 0.45
Tested by
no test coverage detected