Skip to content

Commit

Permalink
Merge pull request #5936 from richtja/test_store_logging_stream_exter…
Browse files Browse the repository at this point in the history
…nal_fix

Signed-off-by: Jan Richter <[email protected]>
  • Loading branch information
richtja committed May 20, 2024
2 parents bf9bc74 + 8c699c8 commit fb418c3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion selftests/functional/basic.py
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,9 @@ def check_matplotlib_logs(file_path):
self.assertTrue(os.path.exists(file_path))
with open(file_path, encoding="utf-8") as file:
stream = file.read()
self.assertIn("matplotlib __init__ L0337 DEBUG|", stream)
self.assertTrue(
re.match(r"matplotlib __init__ L[0-9]* DEBUG|", stream)
)

log_dir = os.path.join(self.tmpdir.name, "latest")
test_log_dir = os.path.join(
Expand Down

0 comments on commit fb418c3

Please sign in to comment.