mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
gh-127873: Only check sys.flags.ignore_environment for PYTHON* env vars (#127877)
This commit is contained in:
parent
13475e0a5a
commit
05d12eecbd
22 changed files with 94 additions and 65 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue