summaryrefslogtreecommitdiffstats
path: root/_test/data/serializer-is-closed-2.dumper-error
blob: 89aef7e95dba90d9faaf500be0504fcb4d6c8e59 (plain)
1
2
3
4
dumper = yaml.Dumper(StringIO())
dumper.open()
dumper.close()
dumper.serialize(yaml.ScalarNode(tag='!foo', value='bar'))