Merge pull request #9931 from bluetech/py11-rglob

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 GitHub
commit db139307ce
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:") print("created directory structure:")
for x in pytester.path.rglob(""): for x in pytester.path.glob("**/"):
print(" " + str(x.relative_to(pytester.path))) print(" " + str(x.relative_to(pytester.path)))
return {"runner": runner, "package": package, "swc": swc, "snc": snc} return {"runner": runner, "package": package, "swc": swc, "snc": snc}