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

Co-authored-by: Ran Benita <ran@unusedvar.com>
This commit is contained in:
github-actions[bot] 2022-05-09 13:38:22 +00:00 committed by GitHub
parent a7d7676f7b
commit 2f8ae29c17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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}