def pytest_funcarg__score_line(request): s = score.Score() humdrum.parse_line("**kern **kern", s) humdrum.parse_line("4c 4d", s) return s
def pytest_funcarg__line_comments(request): return humdrum.parse_line("!foo\t!! bar", score.Score())
def pytest_funcarg__line1(request): return humdrum.parse_line("**kern\t**kern", score.Score())
def test_parse_line_blankline(): # FIXME: is this a bug? f = humdrum.parse_line("", score.Score()) assert isinstance(f[0], score.BlankLine)
def test_parse_line_record(): f = humdrum.parse_line("!! Global comment", score.Score()) assert isinstance(f[0], score.Comment)
def test_parse_line_title(): f = humdrum.parse_line("!!!OTL: My Music", score.Score()) assert f.title == 'My Music'
def test_parse_line_composer(): f = humdrum.parse_line("!!!COM: Pedro Kroger", score.Score()) assert f.composer == 'Pedro Kroger'