Source

pyyaml / tests / data / serializer-is-closed-2.dumper-error

1
2
3
4
dumper = Dumper(StringIO.StringIO())
dumper.open()
dumper.close()
dumper.serialize(ScalarNode(tag='!foo', value='bar'))