Fix failures on non-UTF-8 environment [Bug #18077]
Call IOSpecs.io_fixture with the default encoding explicitly. IOSpecs.closed_io calls the method without optional mode which
is set to UTF-8 by default, while the default external encoding
depends on the locale environment variables.
Related issues
Bug #18077: Marshal.dump(closed_io) raises IOError instead of TypeError
Fix failures on non-UTF-8 environment [Bug #18077]
Call
IOSpecs.io_fixture
with the default encoding explicitly.IOSpecs.closed_io
calls the method without optionalmode
whichis set to UTF-8 by default, while the default external encoding
depends on the locale environment variables.