Skip to content

Commit b329019

Browse files
committed
Fix C API tests.
1 parent bcfd811 commit b329019

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Lib/test/test_capi/test_exceptions.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import textwrap
77

88
from test import support
9-
from test.support import import_helper
9+
from test.support import import_helper, force_not_colorized
1010
from test.support.os_helper import TESTFN, TESTFN_UNDECODABLE
1111
from test.support.script_helper import assert_python_failure, assert_python_ok
1212
from test.support.testcase import ExceptionIsLikeMixin
@@ -355,6 +355,7 @@ def test_err_writeunraisable(self):
355355
# CRASHES writeunraisable(NULL, hex)
356356
# CRASHES writeunraisable(NULL, NULL)
357357

358+
@force_not_colorized
358359
def test_err_formatunraisable(self):
359360
# Test PyErr_FormatUnraisable()
360361
formatunraisable = _testcapi.err_formatunraisable

0 commit comments

Comments
 (0)