Skip to content

Commit

Permalink
Update test.
Browse files Browse the repository at this point in the history
Update script defined within test so that it works on Windows.
  • Loading branch information
ioannis-vm committed Oct 29, 2024
1 parent 93f8f79 commit 4a7163a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pelicun/tests/basic/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,10 @@ def test_logger_exception() -> None:
test_script_content = f"""
import sys
import traceback
from pathlib import Path
from pelicun.base import Logger
log_file = "{temp_dir}/log.txt"
log_file = "{temp_dir.replace('\\', '\\\\')}\\log.txt"
log = Logger(log_file=log_file, verbose=True, log_show_ms=True, print_log=True)
Expand Down

0 comments on commit 4a7163a

Please sign in to comment.