small mypy fixes

This commit is contained in:
Anthony Sottile
2019-06-06 09:13:02 -07:00
parent 450d264623
commit ccd87f9e80
7 changed files with 8 additions and 21 deletions

View File

@@ -235,7 +235,7 @@ class TestRaises:
int("asdf")
def test_raises_exception_looks_iterable(self):
class Meta(type(object)):
class Meta(type):
def __getitem__(self, item):
return 1 / 0