dyaml/test/data/serializer-is-closed-2.dumper-error
Ferdinand Majerech 283c42bf8f Initial commit.
2011-08-16 14:53:13 +02:00

5 lines
121 B
Plaintext

dumper = yaml.Dumper(StringIO())
dumper.open()
dumper.close()
dumper.serialize(yaml.ScalarNode(tag='!foo', value='bar'))