MCPcopy Create free account
hub / github.com/tox-dev/filelock / assert_fallback.py

File assert_fallback.py

tasks/capability/assert_fallback.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""Confirm filelock took its documented fallback when ``FILELOCK_BLOCK_MODULE`` hid a module, or exit non-zero.
2
3The capability jobs set the module and put ``tasks/capability`` on ``PYTHONPATH`` so the sibling ``sitecustomize``
4hides it; this checks the import-time consequence before the verifier exercises the resulting lock.

Callers

nothing calls this directly

Calls 1

mainFunction · 0.70

Tested by

no test coverage detected