def METHOD_NAME(self):
    expected_format = file_formats.SCC
    expected_language = languages.getlang_by_name("Arabic")
    converter = build_subtitle_converter_from_file(
        os.path.join(test_files_dir, "basic.srt"), in_format=expected_format
    )
    with self.assertRaises(InvalidSubtitleFormatError):
        converter.convert(expected_language.code)