diff options
author | Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> | 2025-01-21 16:10:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-21 16:10:08 (GMT) |
commit | 05d12eecbde1ace39826320cadf8e673d709b229 (patch) | |
tree | 2e767c71374e498d1f9759e2ba60177152b396d0 /Lib/test/test_unicodedata.py | |
parent | 13475e0a5a317fa61f302f030b0effcb021873d6 (diff) | |
download | cpython-05d12eecbde1ace39826320cadf8e673d709b229.zip cpython-05d12eecbde1ace39826320cadf8e673d709b229.tar.gz cpython-05d12eecbde1ace39826320cadf8e673d709b229.tar.bz2 |
gh-127873: Only check `sys.flags.ignore_environment` for `PYTHON*` env vars (#127877)
Diffstat (limited to 'Lib/test/test_unicodedata.py')
-rw-r--r-- | Lib/test/test_unicodedata.py | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/Lib/test/test_unicodedata.py b/Lib/test/test_unicodedata.py index c7d09a6..0285f0d 100644 --- a/Lib/test/test_unicodedata.py +++ b/Lib/test/test_unicodedata.py @@ -11,8 +11,14 @@ from http.client import HTTPException import sys import unicodedata import unittest -from test.support import (open_urlresource, requires_resource, script_helper, - cpython_only, check_disallow_instantiation) +from test.support import ( + open_urlresource, + requires_resource, + script_helper, + cpython_only, + check_disallow_instantiation, + force_not_colorized, +) class UnicodeMethodsTest(unittest.TestCase): @@ -277,6 +283,7 @@ class UnicodeMiscTest(UnicodeDatabaseTest): # Ensure that the type disallows instantiation (bpo-43916) check_disallow_instantiation(self, unicodedata.UCD) + @force_not_colorized def test_failed_import_during_compiling(self): # Issue 4367 # Decoding \N escapes requires the unicodedata module. If it can't be |