summaryrefslogtreecommitdiffstats
path: root/_test/data/serializer-is-closed-2.dumper-error
diff options
context:
space:
mode:
Diffstat (limited to '_test/data/serializer-is-closed-2.dumper-error')
-rw-r--r--_test/data/serializer-is-closed-2.dumper-error4
1 files changed, 4 insertions, 0 deletions
diff --git a/_test/data/serializer-is-closed-2.dumper-error b/_test/data/serializer-is-closed-2.dumper-error
new file mode 100644
index 0000000..89aef7e
--- /dev/null
+++ b/_test/data/serializer-is-closed-2.dumper-error
@@ -0,0 +1,4 @@
+dumper = yaml.Dumper(StringIO())
+dumper.open()
+dumper.close()
+dumper.serialize(yaml.ScalarNode(tag='!foo', value='bar'))