Skip to content

Commit

Permalink
Use pragma: no cover to exclude branches from coverage stats
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksandr-pavlyk committed Jan 16, 2025
1 parent a86da4b commit c3da2e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dpctl/_init_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
and os.path.isfile(os.path.join(sys.exec_prefix, "pyvenv.cfg"))
)

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

0 comments on commit c3da2e5

Please sign in to comment.