Remove unused type: ignores

Not needed since update from mypy 0.770 -> 0.780.
This commit is contained in:
Ran Benita
2020-06-08 21:21:58 +03:00
parent 0f30103d9c
commit f84ffd9747
5 changed files with 7 additions and 14 deletions

View File

@@ -1258,7 +1258,7 @@ class TestEarlyRewriteBailout:
def spy_find_spec(name, path):
self.find_spec_calls.append(name)
return importlib.machinery.PathFinder.find_spec(name, path) # type: ignore
return importlib.machinery.PathFinder.find_spec(name, path)
hook = AssertionRewritingHook(pytestconfig)
# use default patterns, otherwise we inherit pytest's testing config