summaryrefslogtreecommitdiff
path: root/_test
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2018-08-21 07:00:14 +0200
committerAnthon van der Neut <anthon@mnt.org>2018-08-21 07:00:14 +0200
commit0291c0b4caa82d816a4fc343e88691b5acbf75d2 (patch)
tree8ae332f8994f43b8e73f4733002bb8a3907733c4 /_test
parent915682d59f937f6027032892e1b939e76678b9ac (diff)
downloadruamel.yaml-0291c0b4caa82d816a4fc343e88691b5acbf75d2.tar.gz
cleanup
Diffstat (limited to '_test')
-rw-r--r--_test/test_string.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/_test/test_string.py b/_test/test_string.py
index 5aba3ef..47970cf 100644
--- a/_test/test_string.py
+++ b/_test/test_string.py
@@ -179,6 +179,7 @@ class TestWalkTree:
def test_basic(self):
from ruamel.yaml.comments import CommentedMap
from ruamel.yaml.scalarstring import walk_tree
+
data = CommentedMap()
data[1] = 'a'
data[2] = 'with\nnewline\n'
@@ -197,6 +198,7 @@ class TestWalkTree:
from ruamel.yaml.scalarstring import walk_tree, preserve_literal
from ruamel.yaml.scalarstring import DoubleQuotedScalarString as dq
from ruamel.yaml.scalarstring import SingleQuotedScalarString as sq
+
data = CommentedMap()
data[1] = 'a'
data[2] = 'with\nnew : line\n'