summaryrefslogtreecommitdiff
path: root/_test
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2018-10-27 18:22:43 +0200
committerAnthon van der Neut <anthon@mnt.org>2018-10-27 18:22:43 +0200
commite5f7bc5866457e556c90f784769296410e924238 (patch)
tree644c4e1c0910af14db1d4fe1ef8d27ba60a65553 /_test
parenta0d4b1a7f4998aa1d8015cf78bd043682bc9105b (diff)
downloadruamel.yaml-e5f7bc5866457e556c90f784769296410e924238.tar.gz
fixes issue #254 single question mark not dumped with quotes0.15.75
introduced re issue #62 for version 0.15.27 test in ruamel.yaml.data/special/single_indicator.yaml *When this change indeed resolves your problem, please **Close** this issue*. *(You can do so using the WorkFlow pull-down (close to the top right of this page))*
Diffstat (limited to '_test')
-rw-r--r--_test/test_anchor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/_test/test_anchor.py b/_test/test_anchor.py
index 4c7a9f2..dec1261 100644
--- a/_test/test_anchor.py
+++ b/_test/test_anchor.py
@@ -493,7 +493,7 @@ class TestDuplicateKeyThroughAnchor:
def test_duplicate_key_01(self):
# so issue https://stackoverflow.com/a/52852106/1307905
from ruamel.yaml import version_info
- from ruamel.yaml.constructor import DuplicateKeyFutureWarning, DuplicateKeyError
+ from ruamel.yaml.constructor import DuplicateKeyError
s = dedent("""\
- &name-name