Skip to content

Commit

Permalink
Remove redundant msgs.
Browse files Browse the repository at this point in the history
  • Loading branch information
serhiy-storchaka committed Jan 20, 2025
1 parent c54a4cf commit b253501
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Lib/test/test_importlib/test_abc.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,12 @@ def setUp(self):
def test_subclasses(self):
# Test that the expected subclasses inherit.
for subclass in self.subclasses:
self.assertIsSubclass(subclass, self.__test,
"{0} is not a subclass of {1}".format(subclass, self.__test))
self.assertIsSubclass(subclass, self.__test)

def test_superclasses(self):
# Test that the class inherits from the expected superclasses.
for superclass in self.superclasses:
self.assertIsSubclass(self.__test, superclass,
"{0} is not a superclass of {1}".format(superclass, self.__test))
self.assertIsSubclass(self.__test, superclass)


class MetaPathFinder(InheritanceTests):
Expand Down

0 comments on commit b253501

Please sign in to comment.