diff options
author | Matt Clay <matt@mystile.com> | 2021-12-07 18:41:54 +0100 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2021-12-08 02:22:54 +0100 |
commit | 97ef1d031c77d19525e87c4b4830905962cacc80 (patch) | |
tree | 73edf7e1bbc433b21550d38327a4d20d6e3727b6 /test | |
parent | galaxy build - ignore existing MANIFEST and FILES (#76479) (diff) | |
download | ansible-97ef1d031c77d19525e87c4b4830905962cacc80.tar.xz ansible-97ef1d031c77d19525e87c4b4830905962cacc80.zip |
Revert "ansible-test - Fix import test when vendoring."
This reverts commit 33a8d063327f8e3053799c001eaa21b660cb428e.
Diffstat (limited to 'test')
-rw-r--r-- | test/lib/ansible_test/_util/target/sanity/import/importer.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/test/lib/ansible_test/_util/target/sanity/import/importer.py b/test/lib/ansible_test/_util/target/sanity/import/importer.py index 4708abf153..c506a9cefb 100644 --- a/test/lib/ansible_test/_util/target/sanity/import/importer.py +++ b/test/lib/ansible_test/_util/target/sanity/import/importer.py @@ -475,12 +475,6 @@ def main(): with warnings.catch_warnings(): warnings.simplefilter('error') - # If vendoring is in use (lib/ansible/_vendor/), then vendored modules may already be loaded after the first file is tested. - # To avoid test failures, the warning about this condition must be ignored. - warnings.filterwarnings( - "ignore", - "One or more Python packages bundled by this ansible-core distribution were already loaded ") - if sys.version_info[0] == 2: warnings.filterwarnings( "ignore", |