Skip to content

Commit

Permalink
Just skipping actually
Browse files Browse the repository at this point in the history
  • Loading branch information
c4ffein committed Aug 23, 2024
1 parent 4be13a8 commit 26acd68
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/test_pagination.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,6 @@ def test_pagination_works_with_unnamed_classes():
This test lets you check that the typing.Any case handled in `ninja.pagination.make_response_paginated`
works for Python>=3.11, as a typing.Any does possess the __name__ atribute past that version
"""
PydanticSchemaGenerationError if else TypeError
operation = Operation("/whatever", ["GET"], lambda: None, response=List[int])
operation.response_models[200].__annotations__["response"] = List[object()]
with pytest.raises(
Expand Down

0 comments on commit 26acd68

Please sign in to comment.