1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
From 374d5a5a4bd3f829c9916d3d8dd795ec6f0d9288 Mon Sep 17 00:00:00 2001
From: Daniel Mizyrycki <mzdaniel@glidelink.net>
Date: Wed, 22 May 2024 23:38:21 -0700
Subject: [PATCH] Fix PytestRemovedIn9Warning
Origin: upstream, https://github.com/jazzband/docopt-ng/pull/66/commits/9bf47de6ccc3f98de1e7ca1675a34e5331ccaf33.patch
Bug: https://github.com/jazzband/docopt-ng/pull/66
Bug-Debian: https://bugs.debian.org/1122937
---
tests/conftest.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/conftest.py b/tests/conftest.py
index 43c2dfc..c6eba51 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -10,7 +10,7 @@
import docopt
-def pytest_collect_file(file_path: Path, path, parent):
+def pytest_collect_file(file_path: Path, parent):
if file_path.suffix == ".docopt" and file_path.stem.startswith("test"):
return DocoptTestFile.from_parent(path=file_path, parent=parent)
|