ports/print/py-pikepdf/patches/patch-tests_test_io_py

12 lines
475 B
Text

Index: tests/test_io.py
--- tests/test_io.py.orig
+++ tests/test_io.py
@@ -116,7 +116,7 @@ def _file_descriptor_is_open(
def _skip_file_descriptor_checks_if_not_supported():
- if sys.platform == 'win32' or sys.platform.startswith('freebsd'):
+ if sys.platform == 'win32' or sys.platform.startswith('freebsd') or sys.platform.startswith('openbsd'):
pytest.skip(
"psutil documentation warns that .open_files() has problems on these"
)