Feature request #3445.
This commit is contained in:
parent
5ceb0a59dd
commit
900fa2f795
2 changed files with 3 additions and 2 deletions
|
|
@ -1221,6 +1221,7 @@ def test_response_type_errors():
|
|||
with pytest.raises(TypeError) as e:
|
||||
c.get("/none")
|
||||
assert "returned None" in str(e.value)
|
||||
assert "from_none" in str(e.value)
|
||||
|
||||
with pytest.raises(TypeError) as e:
|
||||
c.get("/small_tuple")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue