diff options
Diffstat (limited to 'dev-python/pytest/files')
| -rw-r--r-- | dev-python/pytest/files/pytest-7.1.2-py311.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-python/pytest/files/pytest-7.1.2-py311.patch b/dev-python/pytest/files/pytest-7.1.2-py311.patch new file mode 100644 index 000000000000..ecae07b9ce24 --- /dev/null +++ b/dev-python/pytest/files/pytest-7.1.2-py311.patch @@ -0,0 +1,28 @@ +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 + |
