File: 1122937.patch

package info (click to toggle)
python-docopt-ng 0.9.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 408 kB
  • sloc: python: 1,821; makefile: 3
file content (26 lines) | stat: -rw-r--r-- 923 bytes parent folder | download
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)