to use ‘StringIO’ as mock in unit test. this module provides the refinement to add missing ‘IO’ methods to ‘StringIO’.