Skip to content

Commit 9f3100d

Browse files
committed
Fix test_unknown_flag for platform
1 parent 86a7158 commit 9f3100d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Lib/test/test_platform.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -759,6 +759,7 @@ def invoke_platform(self, *flags):
759759
platform._main(args=flags)
760760
return output.getvalue()
761761

762+
@support.force_not_colorized
762763
def test_unknown_flag(self):
763764
with self.assertRaises(SystemExit):
764765
# suppress argparse error message

0 commit comments

Comments
 (0)