Skip to content

Commit

Permalink
Replace abs paths in tracebacks for win tests
Browse files Browse the repository at this point in the history
Co-authored-by: Ali Hamdan <[email protected]>
  • Loading branch information
cdce8p and hamdanal committed Jul 6, 2024
1 parent 3aafbbc commit fa3779c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mypyc/test/test_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ def run_case_step(self, testcase: DataDrivenTestCase, incremental_step: int) ->
# TODO: testDecorators1 hangs on 3.12, remove this once fixed
proc.wait(timeout=30)
output = proc.communicate()[0].decode("utf8")
output = output.replace(f' File "{os.getcwd()}{os.sep}', ' File "')
outlines = output.splitlines()

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

0 comments on commit fa3779c

Please sign in to comment.