forked from bspaans/python-mingus
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
SPIKEInvestigative/Research focused taskInvestigative/Research focused taskbugSomething isn't workingSomething isn't workingquestionFurther information is requestedFurther information is requested
Milestone
Description
Playing around with the parameters of from_shorthand(), we can see that the method breaks down when given bogus values (barring the second example)
>>> intervals.from_shorthand("A","#")
False
>>> intervals.from_shorthand("A","3")
'C#'
>>> intervals.from_shorthand("A","foo")
False
>>> intervals.from_shorthand("As","foo")
False
>>> intervals.from_shorthand("Asasdf","foo")
False
Is this really intended behavior? From the previous tutorials, it would make sense if these inputs raised exceptions.
Metadata
Metadata
Assignees
Labels
SPIKEInvestigative/Research focused taskInvestigative/Research focused taskbugSomething isn't workingSomething isn't workingquestionFurther information is requestedFurther information is requested