From 2f8ae29c173ea8335a1e0cc7027a76032429e8f9 Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
 <41898282+github-actions[bot]@users.noreply.github.com>
Date: Mon, 9 May 2022 13:38:22 +0000
Subject: [PATCH] [7.1.x] testing: fix Path.rglob("") failures in Python 3.11b1
 (#9934)

Co-authored-by: Ran Benita <ran@unusedvar.com>
---
 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}
-- 
2.35.1

