Skip to content

Commit e37c370

Browse files
committed
πŸ› fix(coverage): add missing pragmas for Linux CI
1 parent df0be1a commit e37c370

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

β€Žsrc/py_discovery/_py_info.pyβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ def _possible_base(self):
770770
yield lower
771771
from ._compat import fs_is_case_sensitive
772772

773-
if fs_is_case_sensitive():
773+
if fs_is_case_sensitive(): # pragma: no branch
774774
if base != lower:
775775
yield base
776776
upper = base.upper()

β€Žtests/py_info/test_py_info_exe_based_of.pyβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def test_discover_ok(
6868
base = CURRENT.discover_exe(session_cache, inside_folder)
6969
found = base.executable
7070
dest_str = str(dest)
71-
if not fs_is_case_sensitive(): # pragma: no branch
71+
if not fs_is_case_sensitive(): # pragma: win32 cover
7272
found = found.lower()
7373
dest_str = dest_str.lower()
7474
assert found == dest_str

0 commit comments

Comments
Β (0)