summaryrefslogtreecommitdiff
path: root/_test/test_api_change.py
diff options
context:
space:
mode:
Diffstat (limited to '_test/test_api_change.py')
-rw-r--r--_test/test_api_change.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/_test/test_api_change.py b/_test/test_api_change.py
index 9bb26b5..3f3d411 100644
--- a/_test/test_api_change.py
+++ b/_test/test_api_change.py
@@ -146,6 +146,7 @@ class TestRead:
with pytest.raises(ConstructorError):
yaml.load(s)
# should parse fine
+ yaml = YAML(typ='safe')
for _ in yaml.parse(s):
pass