summaryrefslogtreecommitdiff
path: root/_test/test_string.py
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2018-08-23 07:11:21 +0200
committerAnthon van der Neut <anthon@mnt.org>2018-08-23 07:11:21 +0200
commit109fcc2deebb23025e17d981de1bd29669b33e9a (patch)
tree9a6f5b7a38ff7b28514a30f72f94223441402d73 /_test/test_string.py
parent9673bc2b6008461b3e5bcb21cad925730e92baab (diff)
downloadruamel.yaml-109fcc2deebb23025e17d981de1bd29669b33e9a.tar.gz
fix #158 folded scalars not roundtripping0.15.61
Diffstat (limited to '_test/test_string.py')
-rw-r--r--_test/test_string.py20
1 files changed, 0 insertions, 20 deletions
diff --git a/_test/test_string.py b/_test/test_string.py
index a12bdd6..b9fe1ae 100644
--- a/_test/test_string.py
+++ b/_test/test_string.py
@@ -86,16 +86,6 @@ class TestPreservedScalarString:
"""
round_trip(inp, intermediate=dict(a='ghi\njkl\n\n'))
- def Xtest_fold_string(self):
- with pytest.raises(AssertionError) as excinfo: # NOQA
- inp = """
- a: >
- abc
- def
-
- """
- round_trip(inp, intermediate=dict(a='abc def\n'))
-
def test_fold_string(self):
inp = """
a: >
@@ -106,16 +96,6 @@ class TestPreservedScalarString:
round_trip(inp)
def test_fold_string_strip(self):
- with pytest.raises(AssertionError) as excinfo: # NOQA
- inp = """
- a: >-
- abc
- def
-
- """
- round_trip(inp, intermediate=dict(a='abc def'))
-
- def test_fold_string_strip(self):
inp = """
a: >-
abc