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 383659d commit db67d5cCopy full SHA for db67d5c
src/_pytest/_py/path.py
@@ -161,15 +161,13 @@ def gen(self, path):
161
)
162
if not self.breadthfirst:
163
for subdir in dirs:
164
- for p in self.gen(subdir):
165
- yield p
+ yield from self.gen(subdir)
166
for p in self.optsort(entries):
167
if self.fil is None or self.fil(p):
168
yield p
169
if self.breadthfirst:
170
171
172
173
174
175
class FNMatcher:
0 commit comments