summaryrefslogtreecommitdiff
path: root/_test/lib/test_errors.py
diff options
context:
space:
mode:
Diffstat (limited to '_test/lib/test_errors.py')
-rw-r--r--_test/lib/test_errors.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/_test/lib/test_errors.py b/_test/lib/test_errors.py
index f89392c..9576c90 100644
--- a/_test/lib/test_errors.py
+++ b/_test/lib/test_errors.py
@@ -3,6 +3,8 @@ from __future__ import print_function
import ruamel.yaml as yaml
import test_emitter
+import warnings
+warnings.simplefilter('ignore', yaml.error.UnsafeLoaderWarning)
def test_loader_error(error_filename, verbose=False):