Commit e18fa0bf authored by Stefan Behnel's avatar Stefan Behnel

Fix file path lookup in coverage test on Windows.

parent 04a94d5d
...@@ -206,7 +206,7 @@ def run_json_report(): ...@@ -206,7 +206,7 @@ def run_json_report():
'pkg/coverage_test_py.py', 'pkg/coverage_test_py.py',
'pkg/coverage_test_pyx.pyx', 'pkg/coverage_test_pyx.pyx',
]: ]:
report = files[filename] report = files[filename.replace('/', os.sep)]
summary = report['summary'] summary = report['summary']
assert summary['missing_lines'] == 2, summary assert summary['missing_lines'] == 2, summary
assert summary['excluded_lines'] == 2, summary assert summary['excluded_lines'] == 2, summary
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment