Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Delgan/loguru
/ test_parse_string_pattern
Function
test_parse_string_pattern
tests/test_parse.py:62–64 ·
view source on GitHub ↗
(fileobj)
Source
from the content-addressed store, hash-verified
60
61
62
def
test_parse_string_pattern(fileobj):
63
result, *_ = list(logger.parse(fileobj, r
"(?P<num>\d+)"
))
64
assert result == dict(num=
"123456789"
)
65
66
67
def
test_parse_regex_pattern(fileobj):
Callers
nothing calls this directly
Calls
1
parse
Method · 0.80
Tested by
no test coverage detected