mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
parent
c018f57186
commit
7d14015e62
3 changed files with 6 additions and 12 deletions
|
@ -291,8 +291,7 @@ class TestLoader(object):
|
|||
# tests loaded from package file
|
||||
yield tests
|
||||
# recurse into the package
|
||||
for test in self._find_tests(full_path, pattern):
|
||||
yield test
|
||||
yield from self._find_tests(full_path, pattern)
|
||||
else:
|
||||
try:
|
||||
yield load_tests(self, tests, pattern)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue