mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
[3.13] gh-127873: Only check sys.flags.ignore_environment
for PYTHON*
env vars (GH-127877) (#129138)
This commit is contained in:
parent
f7f8b8b758
commit
cc3dc8ab24
22 changed files with 91 additions and 28 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