python/tests/test_source.py: simplify, quieten