mirror of
https://github.com/python/cpython.git
synced 2024-12-12 19:33:52 +08:00
bugfix for people executing test_all to run the test suite. (call the
correct function)
This commit is contained in:
parent
0c65771f92
commit
bce64ec086
@ -66,7 +66,7 @@ def suite():
|
||||
alltests = unittest.TestSuite()
|
||||
for name in test_modules:
|
||||
module = __import__(name)
|
||||
alltests.addTest(module.suite())
|
||||
alltests.addTest(module.test_suite())
|
||||
return alltests
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user