Skip to content

Commit b00896c

Browse files
committed
gh-131178: add @force_not_colorized to test_unknown_flag
1 parent edf95da commit b00896c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/test/test_mimetypes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,7 @@ def test_multiple_inputs_with_error(self):
556556
self.assertIn(b'error: media type unknown for foo.unknownext12345', stdout)
557557
self.assertEqual(stderr, b'')
558558

559+
@force_not_colorized
559560
def test_unknown_flag(self):
560561
rc, stdout, stderr = assert_python_failure('-m', 'mimetypes', '--unknown-flag', 'foo.pdf')
561562
self.assertEqual(stdout, b'')

0 commit comments

Comments
 (0)