forked from pool/python-calmjs
Accepting request 1240606 from home:mcalabkova:branches:devel:languages:python
- Tweak support-python-313.patch to adapt to yet another change in argparse OBS-URL: https://build.opensuse.org/request/show/1240606 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-calmjs?expand=0&rev=24
This commit is contained in:
@@ -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())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user