testing: fix Path.rglob("") failures in Python 3.11b1

Fix #9930.
This commit is contained in:
Ran Benita 2022-05-09 12:52:57 +03:00
parent f6aa9d661d
commit 644a81af37
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}