| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,7 @@ | |||
| 1 | 1 | import unittest | |
| 2 | 2 | from unittest import mock | |
| 3 | 3 | from test import support | |
| 4 | + from test.support import check_sanitizer | ||
| 4 | 5 | from test.support import import_helper | |
| 5 | 6 | from test.support import os_helper | |
| 6 | 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, | |
| 791 | 792 | 'The Python shared library cannot be loaded ' | |
| 792 | 793 | 'with an empty environment.') | |
| 794 | + @unittest.skipIf(check_sanitizer(address=True), | ||
| 795 | + 'AddressSanitizer adds to the environment.') | ||
| 793 | 796 | def test_empty_env(self): | |
| 794 | 797 | """Verify that env={} is as empty as possible.""" | |
| 795 | 798 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments