summaryrefslogtreecommitdiff
path: root/_test
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2021-04-07 21:13:57 +0200
committerAnthon van der Neut <anthon@mnt.org>2021-04-07 21:13:57 +0200
commit208bdbb7b1d7488c197bce88578a128ac1cd743d (patch)
tree881c73ab9e563a3537dfeb7deec7105cea26c39b /_test
parent8993ebf6eece99d1bae8690d9fb2bb816196d4a6 (diff)
downloadruamel.yaml-208bdbb7b1d7488c197bce88578a128ac1cd743d.tar.gz
fix for issue 382, error in format string0.17.3
Diffstat (limited to '_test')
-rw-r--r--_test/test_z_olddata.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/_test/test_z_olddata.py b/_test/test_z_olddata.py
index 3857652..89b7053 100644
--- a/_test/test_z_olddata.py
+++ b/_test/test_z_olddata.py
@@ -15,13 +15,13 @@ args = []
def test_data():
import test_appliance # NOQA
+ warnings.simplefilter('ignore', PendingDeprecationWarning)
collections = []
import test_yaml
collections.append(test_yaml)
test_appliance.run(collections, args)
-
# @pytest.mark.skipif(not ruamel.yaml.__with_libyaml__,
# reason="no libyaml")
@@ -32,6 +32,7 @@ def test_data_ext():
import test_appliance # NOQA
warnings.simplefilter('ignore', ruamel.yaml.error.UnsafeLoaderWarning)
+ warnings.simplefilter('ignore', PendingDeprecationWarning)
if ruamel.yaml.__with_libyaml__:
import test_yaml_ext