Skip to content

Commit

Permalink
Change error type
Browse files Browse the repository at this point in the history
  • Loading branch information
ahopkins committed Mar 23, 2022
1 parent 6296797 commit 49c6176
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_routes.py
Expand Up @@ -254,7 +254,7 @@ def handler2(request):


def test_route_invalid_parameter_syntax(app):
with pytest.raises(InvalidUsage):
with pytest.raises(ValueError):

@app.get("/get/<:str>", strict_slashes=True)
def handler(request):
Expand Down

0 comments on commit 49c6176

Please sign in to comment.