def test_main_loop() -> None:
    """Test that the main loop is able to run without erring."""
    # Keep test from taking a long time by lowering repetitions.
    pytest.importorskip("cirq_google")
    args = '--num_qubits 5 --depth 5 --num_circuits 1  --routes 3'.split()
    quantum_volume.main(**quantum_volume.parse_arguments(args))
Test that the main loop is able to run without erring.
examples/advanced/quantum_volume_test.py