diff options
author | Anthon van der Neut <anthon@mnt.org> | 2018-07-28 23:53:41 +0200 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2018-07-28 23:53:41 +0200 |
commit | f9b50b606fe3f12b09dd36cb999238bf440d0cd1 (patch) | |
tree | 04a14e70240d7677ac84d95cd38f3cded4729091 /_test/test_string.py | |
parent | 9f9266b31445296439cbcc9c0e3f01b4fb15ed8a (diff) | |
download | ruamel.yaml-f9b50b606fe3f12b09dd36cb999238bf440d0cd1.tar.gz |
Resolving issue #210 deprecation warning in python 3.7
*When this change indeed resolves your problem, please **Close** this issue*.
*(You can do so usingthe WorkFlow pull-down (close to the top right of this page)*
Diffstat (limited to '_test/test_string.py')
-rw-r--r-- | _test/test_string.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/_test/test_string.py b/_test/test_string.py index 6b3070f..f095095 100644 --- a/_test/test_string.py +++ b/_test/test_string.py @@ -17,7 +17,6 @@ and the chomping modifiers: import pytest import platform -import ruamel # from ruamel.yaml.compat import ordereddict from roundtrip import round_trip, dedent, round_trip_load, round_trip_dump # NOQA @@ -130,6 +129,7 @@ class TestQuotedScalarString: class TestReplace: """inspired by issue 110 from sandres23""" def test_replace_preserved_scalar_string(self): + import ruamel s = dedent("""\ foo: | foo @@ -148,6 +148,7 @@ class TestReplace: """) def test_replace_double_quoted_scalar_string(self): + import ruamel s = dedent("""\ foo: "foo foo bar foo" """) |