Skip to content

Commit c4b0dd3

Browse files
committed
amend tests
Signed-off-by: Oleg Hoefling <oleg.hoefling@ionos.com>
1 parent f4c9b48 commit c4b0dd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/typecheck_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@
243243
'Argument "data" to "ValidationSerializer" has incompatible type "str"',
244244
],
245245
"test_validation_error.py": [
246-
'Argument "detail" to "ValidationError" has incompatible type "Tuple[str, str]"; expected "Union[str, List[Any], Dict[str, Any], None]"', # noqa: E501
246+
'Argument "detail" to "ValidationError" has incompatible type "Tuple[str, str]"; expected "Optional[Union[str, List[Any], Dict[str, Any]]]"', # noqa: E501
247247
],
248248
"test_validators.py": [
249249
'Argument "queryset" to "BaseUniqueForValidator" has incompatible type "object";'

0 commit comments

Comments
 (0)