File: test-py310-argparse.patch

package info (click to toggle)
python-ppmd 0.5.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,636 kB
  • sloc: ansic: 2,574; python: 870; cpp: 23; makefile: 21; sh: 2
file content (24 lines) | stat: -rw-r--r-- 624 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
From: Colin Watson <cjwatson@debian.org>
Date: Mon, 24 Mar 2025 12:44:54 +0000
Subject: Fix test for argparse changes in Python 3.10

See https://github.com/python/cpython/pull/23858.

Last-Update: 2025-03-24
---
 tests/test_cli.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test_cli.py b/tests/test_cli.py
index dfdac2c..22d542e 100644
--- a/tests/test_cli.py
+++ b/tests/test_cli.py
@@ -20,7 +20,7 @@ ppmd
 positional arguments:
   target
 
-optional arguments:
+options:
   -h, --help   show this help message and exit
   -x           Specify decompression
   -c           Output to stdout