mirror of
https://github.com/python/cpython.git
synced 2025-07-22 02:35:22 +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
|
@ -1465,6 +1465,7 @@ class ExceptionTests(unittest.TestCase):
|
|||
|
||||
@cpython_only
|
||||
@unittest.skipIf(_testcapi is None, "requires _testcapi")
|
||||
@force_not_colorized
|
||||
def test_recursion_normalizing_infinite_exception(self):
|
||||
# Issue #30697. Test that a RecursionError is raised when
|
||||
# maximum recursion depth has been exceeded when creating
|
||||
|
@ -2157,6 +2158,7 @@ class AssertionErrorTests(unittest.TestCase):
|
|||
self.assertEqual(result[-len(expected):], expected)
|
||||
|
||||
|
||||
@support.force_not_colorized_test_class
|
||||
class SyntaxErrorTests(unittest.TestCase):
|
||||
maxDiff = None
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue