Skip to content

Commit cad2761

Browse files
author
Lari-Matias Orjala
committed
fix coverage exclude paths on Windows
1 parent 2e5e23f commit cad2761

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)