test_scales_python: fixed covarage