Skip to content

Commit ec07633

Browse files
committed
coverage measure on django>=5
1 parent 0e3307d commit ec07633

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ninja/pagination.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ class PagedSome:
291291
# Switching schema to Output schema
292292
try:
293293
new_name = f"Paged{item_schema.__name__}"
294-
except AttributeError:
294+
except AttributeError: # pragma: no cover
295295
# special case for `typing.Any`, only raised for Python < 3.10
296296
new_name = f"Paged{str(item_schema).replace('.', '_')}" # pragma: no cover
297297
new_schema = type(

0 commit comments

Comments
 (0)