Thanks to visit codestin.com Credit goes to github.com
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.
test_subprocess.ProcessTestCase.test_empty_env
1 parent 625887e commit c3f43bfCopy full SHA for c3f43bf
1 file changed
Lib/test/test_subprocess.py
@@ -1,6 +1,7 @@
1
import unittest
2
from unittest import mock
3
from test import support
4
+from test.support import check_sanitizer
5
from test.support import import_helper
6
from test.support import os_helper
7
from test.support import warnings_helper
@@ -790,6 +791,8 @@ def test_env(self):
790
791
@unittest.skipIf(sysconfig.get_config_var('Py_ENABLE_SHARED') == 1,
792
'The Python shared library cannot be loaded '
793
'with an empty environment.')
794
+ @unittest.skipIf(check_sanitizer(address=True),
795
+ 'AddressSanitizer adds to the environment.')
796
def test_empty_env(self):
797
"""Verify that env={} is as empty as possible."""
798
0 commit comments