'Verify that a part with an empty name can be parsed.'

def test_empty_part_name(self):

    xml = '<?xml    version="1.0"    encoding="UTF-8"    standalone="no"?>\n                        <!DOCTYPE    score-partwise    PUBLIC\n                                        "-//Recordare//DTD    MusicXML    3.0    Partwise//EN"\n                                        "http://www.musicxml.org/dtds/partwise.dtd">\n                        <score-partwise    version="3.0">\n                                <part-list>\n                                        <score-part    id="P1">\n                                                <part-name/>\n                                        </score-part>\n                                </part-list>\n                                <part    id="P1">\n                                </part>\n                        </score-partwise>\n                '
    with tempfile.NamedTemporaryFile() as temp_file:
        temp_file.write(xml)
        temp_file.flush()
        ns = musicxml_reader.musicxml_file_to_sequence_proto(temp_file.name)
    expected_ns = common_testing_lib.parse_test_proto(music_pb2.NoteSequence, '\n                                ticks_per_quarter:    220\n                                source_info:    {\n                                        source_type:    SCORE_BASED\n                                        encoding_type:    MUSIC_XML\n                                        parser:    MAGENTA_MUSIC_XML\n                                }\n                                key_signatures    {\n                                        key:    C\n                                        time:    0\n                                }\n                                tempos    {\n                                        qpm:    120.0\n                                }\n                                part_infos    {\n                                        part:    0\n                                }\n                                total_time:    0.0\n                                ')
    self.assertProtoEquals(expected_ns, ns)
