============================= test session starts ==============================
platform linux -- Python 3.10.12, pytest-9.0.3, pluggy-1.6.0
rootdir: /workspace/portalocker
configfile: pytest.ini
plugins: metadata-3.1.1, anyio-4.13.0, cov-7.1.0, json-report-1.5.0
collected 40 items / 2 skipped

portalocker_tests/temporary_file_lock.py .                               [  2%]
portalocker_tests/test_combined.py .                                     [  5%]
portalocker_tests/test_semaphore.py .........                            [ 27%]
portalocker_tests/tests.py .............................
ERROR: Coverage failure: total of 84 is less than fail-under=100
                                                                         [100%]

=============================== warnings summary ===============================
../../home/openhands/.local/lib/python3.10/site-packages/_pytest/config/__init__.py:1434
  /home/openhands/.local/lib/python3.10/site-packages/_pytest/config/__init__.py:1434: PytestConfigWarning: Unknown config option: timeout
  
    self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")

portalocker_tests/tests.py::test_locker_mechanism[flock]
portalocker_tests/tests.py::test_locker_mechanism[lockf]
  /workspace/portalocker/portalocker/utils.py:160: UserWarning: timeout has no effect in blocking mode
    warnings.warn('timeout has no effect in blocking mode', stacklevel=1)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
--------------------------------- JSON report ----------------------------------
report saved to: report.json
================================ tests coverage ================================
_______________ coverage: platform linux, python 3.10.12-final-0 _______________

Name                         Stmts   Miss Branch BrPart  Cover   Missing
------------------------------------------------------------------------
portalocker/__about__.py         6      0      0      0   100%
portalocker/__init__.py         18      0      0      0   100%
portalocker/__main__.py         69      0     20      0   100%
portalocker/constants.py        20      6      4      2    67%   20-24, 32
portalocker/exceptions.py       12      0      0      0   100%
portalocker/portalocker.py      52     27     14      5    48%   11-34, 52, 57, 65-70
portalocker/utils.py           186     23     40      2    87%   46, 74-90, 103, 110, 283, 325-327, 355-357
------------------------------------------------------------------------
TOTAL                          363     56     78      9    84%
Coverage HTML written to dir htmlcov
FAIL Required test coverage of 100.0% not reached. Total coverage: 83.90%
================== 40 passed, 2 skipped, 3 warnings in 20.32s ==================