[7.1.x] testing: fix Path.rglob("") failures in Python 3.11b1

This commit is contained in:
Ran Benita 2022-05-09 16:15:36 +03:00 committed by pytest bot
parent a7d7676f7b
commit 998b595f03
1 changed files with 1 additions and 1 deletions

View File

@ -553,7 +553,7 @@ class TestConftestVisibility:
)
)
print("created directory structure:")
for x in pytester.path.rglob(""):
for x in pytester.path.glob("**/"):
print(" " + str(x.relative_to(pytester.path)))
return {"runner": runner, "package": package, "swc": swc, "snc": snc}