Ignore depredcated warns(None) overload errors from mypy

This commit is contained in:
Olga Matoula
2021-05-17 09:50:59 +01:00
parent dd8ad3fa9c
commit 3f414d7bbe
4 changed files with 4 additions and 4 deletions

View File

@@ -188,5 +188,5 @@ def test_warns_none_is_deprecated():
"Replace pytest.warns(None) by simply pytest.warns()."
),
):
with pytest.warns(None):
with pytest.warns(None): # type: ignore[call-overload]
pass