Skip to content

Commit b4648db

Browse files
committed
Debug CI
1 parent 466b983 commit b4648db

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

test/test_importexport.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def check_data(temp_dirname: str, short_name: str, file_data:str,
3434
assert open(file_path, "r").read() == expected_data
3535

3636

37-
with tempfile.TemporaryDirectory() as temp_dirname:
37+
with tempfile.TemporaryDirectory(prefix="mtest-") as temp_dirname:
3838
# Check exporting text files (file extension ".txt")
3939
check_data(temp_dirname, "add_expr.txt", "1 + x + y")
4040
check_data(temp_dirname, "AAcute.txt", "\u00C1", "ISOLatin1")
@@ -50,8 +50,7 @@ def check_data(temp_dirname: str, short_name: str, file_data:str,
5050
if not data.startswith("<svg"):
5151
print(data)
5252
import os
53-
os.system("ls -l file_path")
54-
from trepan.api import debug; debug()
53+
os.system(f"ls -l {file_path}")
5554
assert data.startswith("<svg")
5655
assert data.endswith("</svg>")
5756

0 commit comments

Comments
 (0)