Skip to content

Commit ade070f

Browse files
committed
test case fix 🔨
1 parent b8bc465 commit ade070f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_argparse.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2195,7 +2195,7 @@ def test_wrong_argument_subparsers_no_destination_error(self):
21952195
parser.parse_args(('baz',))
21962196
self.assertRegex(
21972197
excinfo.exception.stderr,
2198-
r"error: argument {foo,bar}: invalid choice: 'baz', maybe you meant bar? \(choose from 'foo', 'bar'\)\n$",
2198+
r"error: argument {foo,bar}: invalid choice: 'baz', maybe you meant 'bar'? \(choose from 'foo', 'bar'\)\n$",
21992199
)
22002200

22012201
def test_optional_subparsers(self):

0 commit comments

Comments
 (0)