@@ -49,7 +49,7 @@ class GuitarTests(unittest.TestCase):
|
||||
def test_low_open_e_fails_without_octave_fitting_or_mutation(self):
|
||||
document = tests.test_musicxml.parse(tests.test_musicxml.xml_score(tests.test_musicxml.xml_note('E', octave=2)))
|
||||
before = copy.deepcopy(document)
|
||||
with self.assertRaisesRegex(ValueError, 'measure-1, event .*pitch 40.*1-20'):
|
||||
with self.assertRaisesRegex(ValueError, 'measure_1, event .*pitch 40.*1-20'):
|
||||
generator.guitar.place_guitar(document)
|
||||
self.assertEqual(document, before)
|
||||
def test_open_string_pitch_uses_a_fretted_alternative(self):
|
||||
|
||||
Reference in New Issue
Block a user