Skip to content

Commit 78f8cff

Browse files
use single quote
1 parent e0008bc commit 78f8cff

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

music21/midi/tests.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1537,19 +1537,19 @@ def testExportUnpitched(self):
15371537
self.assertEqual([ev.pitch for ev in note_ons], [67, 60, 60])
15381538

15391539
def testMidiImportLyrics(self):
1540-
lyricFactZh = ["明", "山", "涌", "水", "郁", "郁", "葱", "", "葱",
1541-
"钟", "灵", "毓", "秀", "海", "天", "", "东",
1542-
"济", "济", "多", "士", "四", "方", "所", "", "崇",
1543-
"早", "", "育", "", "文", "明", "", "种"]
1544-
lyricFactKo = ["빛", "날", "세", "라", "영", "웅", "열", "", "사",
1545-
"만", "세", "불", "망", "하", "실", "", "이",
1546-
"옛", "적", "이", "나", "지", "금", "이", "", "나",
1547-
"항", "상", "앙", "모", "합", "니", "", "다"]
1540+
lyricFactZh = ['明', '山', '涌', '水', '郁', '郁', '葱', '', '葱',
1541+
'钟', '灵', '毓', '秀', '海', '天', '', '东',
1542+
'济', '济', '多', '士', '四', '方', '所', '', '崇',
1543+
'早', '', '育', '', '文', '明', '', '种']
1544+
lyricFactKo = ['빛', '날', '세', '라', '영', '웅', '열', '', '사',
1545+
'만', '세', '불', '망', '하', '실', '', '이',
1546+
'옛', '적', '이', '나', '지', '금', '이', '', '나',
1547+
'항', '상', '앙', '모', '합', '니', '', '다']
15481548
testCases = [
1549-
("test18.mid", "utf-8", lyricFactZh),
1550-
("test19.mid", "gbk", lyricFactZh),
1551-
("test20.mid", "utf-8", lyricFactKo),
1552-
("test21.mid", "euc-kr", lyricFactKo),
1549+
('test18.mid', 'utf-8', lyricFactZh),
1550+
('test19.mid', 'gbk', lyricFactZh),
1551+
('test20.mid', 'utf-8', lyricFactKo),
1552+
('test21.mid', 'euc-kr', lyricFactKo),
15531553
]
15541554
for (filename, encoding, lyricFact) in testCases:
15551555
fp = common.getSourceFilePath() / 'midi' / 'testPrimitive' / filename

0 commit comments

Comments
 (0)