Closed freyes closed 1 year ago
Replace "assert type(...) is Foo" with "self.assertIsInstance(..., Foo)" this produces a more meaningful test error message and fixes pep8 rule E721[0]
[0] https://www.flake8rules.com/rules/E721.html
Replace "assert type(...) is Foo" with "self.assertIsInstance(..., Foo)" this produces a more meaningful test error message and fixes pep8 rule E721[0]
[0] https://www.flake8rules.com/rules/E721.html