15
0
forked from pool/python-calmjs

Accepting request 1240689 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1240689
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-calmjs?expand=0&rev=12
This commit is contained in:
2025-01-28 13:59:35 +00:00
committed by Git OBS Bridge
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Jan 27 16:46:53 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Tweak support-python-313.patch to adapt to yet another change
in argparse
-------------------------------------------------------------------
Tue Jan 7 03:37:22 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -46,7 +46,7 @@ Index: calmjs-3.4.4/src/calmjs/tests/test_argparse.py
- self.assertIn("(choose from '1', '2', '3')", sys.stderr.getvalue())
+ msg = "(choose from '1', '2', '3')"
+ if sys.version_info[:2] == (3, 12):
+ if sys.version_info[:2] >= (3, 12):
+ msg = "(choose from 1, 2, 3)"
+ self.assertIn(msg, sys.stderr.getvalue())