Skip to content

Commit aee6325

Browse files
author
Cruz Monrreal
authored
Merge pull request #8123 from lorjala/fix_coverage_excludes
Unit tests: fix coverage exclude paths on Windows
2 parents 91ddbfa + cad2761 commit aee6325

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UNITTESTS/unit_test/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def _get_coverage_script(self, coverage_type, excludes):
134134
"./coverage.xml"])
135135

136136
for path in excludes:
137-
args.extend(["-e", path])
137+
args.extend(["-e", path.replace("\\", "/")])
138138

139139
if logging.getLogger().getEffectiveLevel() == logging.DEBUG:
140140
args.append("-v")

0 commit comments

Comments
 (0)