Fix a bug when a block scalar is incorrectly emitted in the simple key context.
[pyyaml/python3.git] / tests / data / serializer-is-closed-2.dumper-error
blob07621450c630dccf2e878785cd4b83ae68ac4186
1 dumper = Dumper(StringIO.StringIO())
2 dumper.open()
3 dumper.close()
4 dumper.serialize(ScalarNode(tag='!foo', value='bar'))