Skip to content

Commit dddcd65

Browse files
committed
Update tests
1 parent b1ef640 commit dddcd65

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

Lib/test/test_argparse.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6049,6 +6049,7 @@ def test_argument_error(self):
60496049

60506050
class TestArgumentTypeError(TestCase):
60516051

6052+
@force_not_colorized
60526053
def test_argument_type_error(self):
60536054

60546055
def spam(string):
@@ -7013,6 +7014,7 @@ def test_os_error(self):
70137014
self.parser.parse_args, ['@no-such-file'])
70147015

70157016

7017+
@force_not_colorized_test_class
70167018
class TestProgName(TestCase):
70177019
source = textwrap.dedent('''\
70187020
import argparse

Lib/test/test_clinic.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2792,6 +2792,7 @@ def test_cli_verbose(self):
27922792
out = self.expect_success("-v", fn)
27932793
self.assertEqual(out.strip(), fn)
27942794

2795+
@support.force_not_colorized
27952796
def test_cli_help(self):
27962797
out = self.expect_success("-h")
27972798
self.assertIn("usage: clinic.py", out)

0 commit comments

Comments
 (0)