Skip to content

Commit 9d1cd92

Browse files
p1-radbanty
andauthored
Update end_to_end_tests/test_end_to_end.py
Co-authored-by: Dylan Anthony <[email protected]>
1 parent 03d7fd2 commit 9d1cd92

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

end_to_end_tests/test_end_to_end.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ def run_e2e_test(extra_args: List[str], expected_differences: Dict[Path, str]):
8585
if result.exit_code != 0:
8686
raise result.exception
8787

88+
# Use absolute paths for expected differences for easier comparisons
89+
expected_differences = {output_path.joinpath(key): value for key, value in expected_differences.items()}
90+
8891
_compare_directories(gr_path, output_path, expected_differences=expected_differences)
8992

9093
import mypy.api

0 commit comments

Comments
 (0)