We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcfd811 commit b329019Copy full SHA for b329019
Lib/test/test_capi/test_exceptions.py
@@ -6,7 +6,7 @@
6
import textwrap
7
8
from test import support
9
-from test.support import import_helper
+from test.support import import_helper, force_not_colorized
10
from test.support.os_helper import TESTFN, TESTFN_UNDECODABLE
11
from test.support.script_helper import assert_python_failure, assert_python_ok
12
from test.support.testcase import ExceptionIsLikeMixin
@@ -355,6 +355,7 @@ def test_err_writeunraisable(self):
355
# CRASHES writeunraisable(NULL, hex)
356
# CRASHES writeunraisable(NULL, NULL)
357
358
+ @force_not_colorized
359
def test_err_formatunraisable(self):
360
# Test PyErr_FormatUnraisable()
361
formatunraisable = _testcapi.err_formatunraisable
0 commit comments