dumper = Dumper(StringIO.StringIO()) dumper.open() dumper.close() dumper.open()