We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c54a4cf commit b253501Copy full SHA for b253501
Lib/test/test_importlib/test_abc.py
@@ -43,14 +43,12 @@ def setUp(self):
43
def test_subclasses(self):
44
# Test that the expected subclasses inherit.
45
for subclass in self.subclasses:
46
- self.assertIsSubclass(subclass, self.__test,
47
- "{0} is not a subclass of {1}".format(subclass, self.__test))
+ self.assertIsSubclass(subclass, self.__test)
48
49
def test_superclasses(self):
50
# Test that the class inherits from the expected superclasses.
51
for superclass in self.superclasses:
52
- self.assertIsSubclass(self.__test, superclass,
53
- "{0} is not a superclass of {1}".format(superclass, self.__test))
+ self.assertIsSubclass(self.__test, superclass)
54
55
56
class MetaPathFinder(InheritanceTests):
0 commit comments