1. Kirill Simonov
  2. pyyaml

Source

pyyaml / tests / data / serializer-is-not-opened-1.dumper-error

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