Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Delgan/loguru
/ test_parse_multiline_pattern
Function
test_parse_multiline_pattern
tests/test_parse.py:73–75 ·
view source on GitHub ↗
(fileobj)
Source
from the content-addressed store, hash-verified
71
72
73
def
test_parse_multiline_pattern(fileobj):
74
result, *_ = list(logger.parse(fileobj, r
"(?P<text>This[\s\S]*Text\n)"
))
75
assert result == dict(text=
"This\nIs\nRandom\nText\n"
)
76
77
78
def
test_parse_without_group(fileobj):
Callers
nothing calls this directly
Calls
1
parse
Method · 0.80
Tested by
no test coverage detected