This commit is contained in:
Radovan Bast 2016-05-18 22:24:32 +02:00
parent 07d431607f
commit 8d7a0dc79c

View File

@ -26,6 +26,5 @@ list:
- b: '%(foo)'
- c: '%(foo)'"""
print(parse_yaml(text))
assert parse_yaml(text) == {'foo': 'bar', 'this': 'that', 'var': 'bar',
'list': [{'a': 'bar'}, {'b': 'bar'}, {'c': 'bar'}]}