Skip to content

Commit c3da2e5

Browse files
Use pragma: no cover to exclude branches from coverage stats
See https://coverage.readthedocs.io/en/7.6.10/excluding.html
1 parent a86da4b commit c3da2e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpctl/_init_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
and os.path.isfile(os.path.join(sys.exec_prefix, "pyvenv.cfg"))
2525
)
2626

27-
if is_venv_win32:
27+
if is_venv_win32: # pragma: no cover
2828
# For virtual environments on Windows, add folder
2929
# with DPC++ libraries to the DLL search path gh-1745
3030
dll_dir = os.path.join(sys.exec_prefix, "Library", "bin")

0 commit comments

Comments
 (0)