From 644a81af37af40539aab436814ba6604b5bd5047 Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Mon, 9 May 2022 12:52:57 +0300 Subject: [PATCH] testing: fix Path.rglob("") failures in Python 3.11b1 Fix #9930. --- testing/test_conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/test_conftest.py b/testing/test_conftest.py index 680482045..d2bf860c6 100644 --- a/testing/test_conftest.py +++ b/testing/test_conftest.py @@ -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}