diff --git a/tests/objects/test_label_structure.py b/tests/objects/test_label_structure.py index 593dd25a..9ba395a9 100644 --- a/tests/objects/test_label_structure.py +++ b/tests/objects/test_label_structure.py @@ -1134,8 +1134,10 @@ def test_audio_classification_exceed_max_frames(ontology, empty_audio_label_row: with pytest.raises(LabelRowError) as e: classification_instance.set_for_frames(frames=5000) - assert e.value.message == ("The supplied frame of `5000` is not within the acceptable bounds of `0` to `1`. " - "Note: for non-geometric data (e.g. AUDIO and PLAIN_TEXT), the entire file only has 1 frame.") + assert e.value.message == ( + "The supplied frame of `5000` is not within the acceptable bounds of `0` to `1`. " + "Note: for non-geometric data (e.g. AUDIO and PLAIN_TEXT), the entire file only has 1 frame." + ) range_list = classification_instance.range_list assert len(range_list) == 1