Skip to content

Commit

Permalink
check the error message
Browse files Browse the repository at this point in the history
  • Loading branch information
sandbubbles committed Nov 5, 2024
1 parent e18a4e5 commit d6bba99
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/unit/cli/vyper_json/test_compile_json.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,5 +352,6 @@ def test_compile_json_with_both_venom_aliases():
"outputSelection": {"*": ["ast"]},
},
}
with pytest.raises(JSONError):
with pytest.raises(JSONError) as e:
get_settings(code)
assert e.value.args[0] == "both experimentalCodegen and venom cannot be set"

0 comments on commit d6bba99

Please sign in to comment.