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

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

Share data files between Py2 and Py3 test suites.

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