From 72f69e1c5e206b8abb9b6954af196b5ca508e59b Mon Sep 17 00:00:00 2001 From: Maxim Kurnikov Date: Wed, 18 Dec 2019 00:02:55 +0300 Subject: [PATCH] remove unused ignores --- scripts/enabled_test_modules.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/scripts/enabled_test_modules.py b/scripts/enabled_test_modules.py index de05624..b1b5345 100644 --- a/scripts/enabled_test_modules.py +++ b/scripts/enabled_test_modules.py @@ -178,7 +178,6 @@ IGNORED_ERRORS = { ], 'files': [ 'Incompatible types in assignment (expression has type "IOBase", variable has type "File")', - 'Argument 1 to "write" of "SpooledTemporaryFile"', ], 'filtered_relation': [ 'has no attribute "name"', @@ -231,13 +230,8 @@ IGNORED_ERRORS = { ], 'mail': [ 'List item 1 has incompatible type "None"; expected "str"', - 'Argument 1 to "push" of "SMTPChannel" has incompatible type "str"; expected "bytes"', - 'Value of type "Union[List[Message], str, bytes, None]" is not indexable', 'Incompatible types in assignment ' + '(expression has type "bool", variable has type "Union[SMTP_SSL, SMTP, None]")', - re.compile( - r'Item "(int|str)" of "Union\[Message, str, int, Any\]" has no attribute "(get_content_type|get_filename)"' - ) ], 'messages_tests': [ 'List item 0 has incompatible type "Dict[str, Message]"; expected "Message"', @@ -320,9 +314,6 @@ IGNORED_ERRORS = { 'model_enums': [ "'bool' is not a valid base class", ], - 'multiple_database': [ - 'Unexpected attribute "extra_arg" for model "Book"' - ], 'null_queries': [ "Cannot resolve keyword 'foo' into field" ],