Skip to content

Commit e0008bc

Browse files
formatting
1 parent b3bdc83 commit e0008bc

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

music21/midi/tests.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1538,8 +1538,8 @@ def testExportUnpitched(self):
15381538

15391539
def testMidiImportLyrics(self):
15401540
lyricFactZh = ["明", "山", "涌", "水", "郁", "郁", "葱", "", "葱",
1541-
"钟", "灵", "毓", "秀", "海", "天", "", "东",
1542-
"济", "济", "多", "士", "四", "方", "所", "", "崇",
1541+
"钟", "灵", "毓", "秀", "海", "天", "", "东",
1542+
"济", "济", "多", "士", "四", "方", "所", "", "崇",
15431543
"早", "", "育", "", "文", "明", "", "种"]
15441544
lyricFactKo = ["빛", "날", "세", "라", "영", "웅", "열", "", "사",
15451545
"만", "세", "불", "망", "하", "실", "", "이",
@@ -1553,10 +1553,10 @@ def testMidiImportLyrics(self):
15531553
]
15541554
for (filename, encoding, lyricFact) in testCases:
15551555
fp = common.getSourceFilePath() / 'midi' / 'testPrimitive' / filename
1556-
s = converter.parse(fp, encoding_type = encoding)
1557-
1558-
for (note, lyric) in zip(s.flat.notes, lyricFact):
1559-
self.assertEqual(note.lyric, lyric)
1556+
s = converter.parse(fp, encoding_type=encoding)
1557+
for (n, l) in zip(s.flat.notes, lyricFact):
1558+
self.assertEqual(n.lyric, l)
1559+
15601560

15611561
# ------------------------------------------------------------------------------
15621562
if __name__ == '__main__':

0 commit comments

Comments
 (0)