Remove PyYAML warning filter in import test.

The filter is obsolete now that PyYAML imports go through our compat layer.
pull/74652/head
Matt Clay 4 years ago
parent bdffb59978
commit 7b0c4845d9

@ -0,0 +1,2 @@
minor_changes:
- ansible-test - Removed the warning filter for ``PyYAML`` in the ``import`` sanity test.

@ -539,11 +539,6 @@ def main():
r"The distutils package is deprecated and slated for removal in Python 3\.12\. .*", r"The distutils package is deprecated and slated for removal in Python 3\.12\. .*",
) )
warnings.filterwarnings(
"ignore",
"The _yaml extension module is now located at yaml._yaml and its location is subject to change. To use the "
"LibYAML-based parser and emitter, import from `yaml`: `from yaml import CLoader as Loader, CDumper as Dumper`.")
try: try:
yield yield
finally: finally:

Loading…
Cancel
Save