Skip to content

Commit 644a81a

Browse files
committed
testing: fix Path.rglob("") failures in Python 3.11b1
Fix #9930.
1 parent f6aa9d6 commit 644a81a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing/test_conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ def test_no_conftest(fxtr):
553553
)
554554
)
555555
print("created directory structure:")
556-
for x in pytester.path.rglob(""):
556+
for x in pytester.path.glob("**/"):
557557
print(" " + str(x.relative_to(pytester.path)))
558558

559559
return {"runner": runner, "package": package, "swc": swc, "snc": snc}

0 commit comments

Comments
 (0)