newline at python-api/scripts/switch_infinite_test.py