Issue #25523: Further a-to-an corrections new in 3.5

This commit is contained in:
Martin Panter 2015-11-02 04:20:33 +00:00
parent 2eb819f7a8
commit d2ad5718ad
8 changed files with 10 additions and 10 deletions

View file

@ -255,12 +255,12 @@ class TestDiscovery(unittest.TestCase):
self.addCleanup(sys.path.remove, abspath('/foo'))
# Test data: we expect the following:
# a listdir to find our package, and a isfile and isdir check on it.
# a listdir to find our package, and isfile and isdir checks on it.
# a module-from-name call to turn that into a module
# followed by load_tests.
# then our load_tests will call discover() which is messy
# but that finally chains into find_tests again for the child dir -
# which is why we don't have a infinite loop.
# which is why we don't have an infinite loop.
# We expect to see:
# the module load tests for both package and plain module called,
# and the plain module result nested by the package module load_tests