diff --git a/testinfra/conftest.py b/testinfra/conftest.py index 38a131e759..3b6d0793b2 100644 --- a/testinfra/conftest.py +++ b/testinfra/conftest.py @@ -14,7 +14,7 @@ def zuul_data(): zuul_extra_data_file = os.environ.get('TESTINFRA_EXTRA_DATA') if os.path.exists(zuul_extra_data_file): with open(zuul_extra_data_file, 'r') as f: - extra = yaml.load(f) + extra = yaml.safe_load(f) data['extra'] = extra return data