Failed test cases cascade when there's an error
richzeng opened this issue · 1 comments
richzeng commented
The way most tests are structured right now causes errors to cascade to later tests. eg.
>>> parsed = splparser.parser.parse("blahblah1")
>>> parsed.print_tree()
# tree prints
>>> parsed = splparser.parser.parse("blahblah2")
# ERROR
>>> parsed.print_tree()
# prints the tree for blahblah1
We should fix this buy just changing the test cases to say
>>> splparser.parser.parse("blahblah1").print_tree()
richzeng commented
Closed