[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:
parent
a7d7676f7b
commit
2f8ae29c17
|
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue