Use new ParseCOntext signature

This commit is contained in:
Joakim Hove
2020-09-29 15:37:14 +02:00
parent 2a812ab7ce
commit 8e247ca6e8
2 changed files with 4 additions and 6 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ FIPNUM
def test_parser_fail_without_extension(self):
error_recovery = [("PARSE_RANDOM_SLASH", opm.io.action.ignore)]
with self.assertRaises(ValueError):
with self.assertRaises(RuntimeError):
parse_context = ParseContext(error_recovery)
deck = Parser().parse_string(self.DECK_ADDITIONAL_KEYWORDS, parse_context)