# tests: run with python -m pytest tests -q