mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
Change write mode
This commit is contained in:
@@ -120,7 +120,7 @@ def pytest_sessionfinish(
|
||||
num_snapshot_tests=num_snapshot_tests,
|
||||
now=datetime.utcnow(),
|
||||
)
|
||||
with open(snapshot_report_path, "wt") as snapshot_file:
|
||||
with open(snapshot_report_path, "w+") as snapshot_file:
|
||||
snapshot_file.write(rendered_report)
|
||||
|
||||
session.config._textual_snapshots = diffs
|
||||
|
||||
Reference in New Issue
Block a user