Skip to content

usb: check permissions only on Linux and use appropriate logger method

Codecov / codecov/patch failed Oct 28, 2024 in 0s

19.04% of diff hit (target 24.47%)

View this Pull Request on Codecov

19.04% of diff hit (target 24.47%)

Annotations

Check warning on line 279 in pyvisa_py/usb.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

pyvisa_py/usb.py#L279

Added line #L279 was not covered by tests

Check warning on line 294 in pyvisa_py/usb.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

pyvisa_py/usb.py#L294

Added line #L294 was not covered by tests

Check warning on line 296 in pyvisa_py/usb.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

pyvisa_py/usb.py#L296

Added line #L296 was not covered by tests

Check warning on line 299 in pyvisa_py/usb.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

pyvisa_py/usb.py#L299

Added line #L299 was not covered by tests

Check warning on line 306 in pyvisa_py/usb.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

pyvisa_py/usb.py#L306

Added line #L306 was not covered by tests

Check warning on line 308 in pyvisa_py/usb.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

pyvisa_py/usb.py#L308

Added line #L308 was not covered by tests

Check warning on line 310 in pyvisa_py/usb.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

pyvisa_py/usb.py#L310

Added line #L310 was not covered by tests

Check warning on line 314 in pyvisa_py/usb.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

pyvisa_py/usb.py#L312-L314

Added lines #L312 - L314 were not covered by tests