Left a line hanging that screwed things up.
StringIO is now a class not a module.