Skip to content

Commit 466b983

Browse files
committed
CI Woes
1 parent 8244ba1 commit 466b983

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test/test_importexport.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def run_export(temp_dirname: str, short_name: str, file_data:str, character_enco
2323
expr += ', CharacterEncoding -> "{character_encoding}"' if character_encoding else ""
2424
expr += "]"
2525
result = session.evaluate(expr)
26-
assert result.to_python() == fr'"{file_path}"'
26+
assert result.to_python(string_quotes=False) == file_path
2727
return file_path
2828

2929
def check_data(temp_dirname: str, short_name: str, file_data:str,
@@ -47,6 +47,11 @@ def check_data(temp_dirname: str, short_name: str, file_data:str,
4747
# Check exporting SVG files (file extension ".svg")
4848
file_path = run_export(temp_dirname, "sine.svg", "Plot[Sin[x], {x,0,1}]", None)
4949
data = open(file_path, "r").read().strip()
50+
if not data.startswith("<svg"):
51+
print(data)
52+
import os
53+
os.system("ls -l file_path")
54+
from trepan.api import debug; debug()
5055
assert data.startswith("<svg")
5156
assert data.endswith("</svg>")
5257

0 commit comments

Comments
 (0)