source: pyyaml/trunk/tests/data/serializer-is-closed-2.dumper-error @ 330

Revision 330, 121 bytes checked in by xi, 6 years ago (diff)

Share data files between Py2 and Py3 test suites.

Line 
1dumper = yaml.Dumper(StringIO())
2dumper.open()
3dumper.close()
4dumper.serialize(yaml.ScalarNode(tag='!foo', value='bar'))
Note: See TracBrowser for help on using the repository browser.