summaryrefslogtreecommitdiff
path: root/_test/lib/test_errors.py
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2017-06-04 14:27:02 +0200
committerAnthon van der Neut <anthon@mnt.org>2017-06-04 14:27:02 +0200
commita0ff58af5242fddc39236168b18aafb7c8b324da (patch)
treeb7ba0da53b720dde7be6e3b32ad927456c6f5dcf /_test/lib/test_errors.py
parent6ba66a44af41d072f5ceddfcdf2c21611c2a7cd0 (diff)
downloadruamel.yaml-0.15.0.tar.gz
initial version with YAML class0.15.0
Some new tests are still required
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):