Issue #18743: Fix references to non-existant "StringIO" module.

This commit is contained in:
Serhiy Storchaka 2013-08-17 00:09:55 +03:00
parent ec34ab5010
commit e79be877df
6 changed files with 8 additions and 8 deletions

View file

@ -1084,9 +1084,9 @@ you wanted a :class:`NonCallableMock` to be used:
...
TypeError: 'NonCallableMock' object is not callable
Another use case might be to replace an object with a `StringIO` instance:
Another use case might be to replace an object with a `io.StringIO` instance:
>>> from StringIO import StringIO
>>> from io import StringIO
>>> def foo():
... print 'Something'
...