mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-11-15 08:12:23 +00:00
The test file annotates with `str | None` and `Path | None`. Python evaluates these when it defines each function, and Python 3.9, the stock macOS python3, has no `|` on types. So the import raised a TypeError, and discovery of the whole scripts/tests folder failed. With the future import, Python keeps the annotations as strings and does not evaluate them.