@@ -81,7 +81,7 @@ def __init__(self):
8181 self ._loading_packages = set ()
8282
8383 def loadTestsFromTestCase (self , testCaseClass ):
84- """Return a suite of all tests cases contained in testCaseClass"""
84+ """Return a suite of all test cases contained in testCaseClass"""
8585 if issubclass (testCaseClass , suite .TestSuite ):
8686 raise TypeError ("Test cases should not be derived from "
8787 "TestSuite. Maybe you meant to derive from "
@@ -95,7 +95,7 @@ def loadTestsFromTestCase(self, testCaseClass):
9595 # XXX After Python 3.5, remove backward compatibility hacks for
9696 # use_load_tests deprecation via *args and **kws. See issue 16662.
9797 def loadTestsFromModule (self , module , * args , pattern = None , ** kws ):
98- """Return a suite of all tests cases contained in the given module"""
98+ """Return a suite of all test cases contained in the given module"""
9999 # This method used to take an undocumented and unofficial
100100 # use_load_tests argument. For backward compatibility, we still
101101 # accept the argument (which can also be the first position) but we
@@ -135,7 +135,7 @@ def loadTestsFromModule(self, module, *args, pattern=None, **kws):
135135 return tests
136136
137137 def loadTestsFromName (self , name , module = None ):
138- """Return a suite of all tests cases given a string specifier.
138+ """Return a suite of all test cases given a string specifier.
139139
140140 The name may resolve either to a module, a test case class, a
141141 test method within a test case class, or a callable object which
@@ -213,7 +213,7 @@ def loadTestsFromName(self, name, module=None):
213213 raise TypeError ("don't know how to make test from: %s" % obj )
214214
215215 def loadTestsFromNames (self , names , module = None ):
216- """Return a suite of all tests cases found using the given sequence
216+ """Return a suite of all test cases found using the given sequence
217217 of string specifiers. See 'loadTestsFromName()'.
218218 """
219219 suites = [self .loadTestsFromName (name , module ) for name in names ]
0 commit comments