Skip to content

Commit 060dc75

Browse files
cdce8phamdanal
andcommitted
Replace abs paths in tracebacks for win tests
Co-authored-by: Ali Hamdan <[email protected]>
1 parent 43494c2 commit 060dc75

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mypyc/test/test_run.py

+1
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,7 @@ def run_case_step(self, testcase: DataDrivenTestCase, incremental_step: int) ->
320320
# TODO: testDecorators1 hangs on 3.12, remove this once fixed
321321
proc.wait(timeout=30)
322322
output = proc.communicate()[0].decode("utf8")
323+
output = output.replace(f' File "{os.getcwd()}{os.sep}', ' File "')
323324
outlines = output.splitlines()
324325

325326
if testcase.config.getoption("--mypyc-showc"):

0 commit comments

Comments
 (0)