scipy/scipy — pull request #4198 by matthew-brett (2014-11-25 02:18:22+00:00)
Title: MRG: fix permissions error in netcdf tests

Netcdf tests failing when installed into system directories because the
tests are writing to the scipy/io/tests/data directory.

Add temporary directory context manager (from nibabel) and use it for
writing the test files.