summaryrefslogtreecommitdiff
path: root/test/lib/ansible_test/_internal/compat/yaml.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/ansible_test/_internal/compat/yaml.py')
-rw-r--r--test/lib/ansible_test/_internal/compat/yaml.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lib/ansible_test/_internal/compat/yaml.py b/test/lib/ansible_test/_internal/compat/yaml.py
index 4b471365f6..fc338e2148 100644
--- a/test/lib/ansible_test/_internal/compat/yaml.py
+++ b/test/lib/ansible_test/_internal/compat/yaml.py
@@ -9,6 +9,7 @@ from functools import (
try:
import yaml as _yaml
+
YAML_IMPORT_ERROR = None
except ImportError as ex:
yaml_load = None # pylint: disable=invalid-name