]> git.pld-linux.org Git - packages/python-cliff.git/blame - python-cliff-py310.patch
- don't package tests; release 2
[packages/python-cliff.git] / python-cliff-py310.patch
CommitLineData
e74d25cf
JB
1--- cliff-2.18.0/cliff/tests/test_help.py.orig 2024-01-16 20:13:24.252285303 +0100
2+++ cliff-2.18.0/cliff/tests/test_help.py 2024-01-16 20:49:44.113809312 +0100
3@@ -107,7 +107,7 @@ class TestHelp(base.TestBase):
4 help_text = stdout.getvalue()
5 basecommand = os.path.split(sys.argv[0])[1]
6 self.assertIn('usage: %s [--version]' % basecommand, help_text)
7- self.assertIn('optional arguments:\n --version', help_text)
8+ self.assertRegex(help_text, 'option(s|al arguments):\n --version', help_text)
9 expected = (
10 ' one Test command.\n'
11 ' three word command Test command.\n'
This page took 0.091956 seconds and 4 git commands to generate.