MAINT: fitpack: trim down compiler warnings (unused labels, variables)
ENH: add temporary directory context managers

Context managers for working in temporary directories.
BUG: do not write temporary files into source tree

Avoid writing temporary files into the scipy data directory; use a
temporary directory instead.
BUG: make matlab happy with empty sparse arrays

Closes gh-4208
TST: add test for empty sparse matrix write

Check that writing empty sparse uses max nnz of 1.
DOC: fix several Sphinx warnings when building the docs

patch developed with Dmitrijs Milajevs and Ioannis Tziakos
BUG: off-by-one error in PPoly shape checks
TST: unnecessary random seeding
BLD: use NPY_RELAXED_STRIDES_CHECKING for one TravisCI configuration
BLD: for the relaxed strides TravisCI build force a specific numpy version, and also spam more numpy settings to the build log
BLD: try forcing numpy rebuild with relaxed strides on TravisCI
Merge pull request #4225 from argriffing/ppoly-antiderivative-order-checking

BUG: off-by-one error in PPoly shape checks
Merge pull request #4226 from ev-br/pr/4224

MAINT: force the numpy rebuild with relaxed strides in Travis-CI
ENH: stats: add a random_state property to distributions

Distributions can either rely on the global numpy.random state
(in a backwards compatible way), or set the instance-level random_state,
or use a specific RandomState object for each rvs(...) call.
Merge pull request #4129 from ev-br/stats_random_state

ENH: stats: add a random_state property to distributions
Merge pull request #4198 from matthew-brett/tmp-file-writing

BUG: io: fix permissions errors 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.
BUG: sparse: work around alignment issue in f2py in Numpy 1.9.1

This version of Numpy specifies complex dtype alignments that are not
guaranteed by system malloc on win32, so that np.zeros does not produce
sufficiently aligned arrays.

Work around this issue by using an aligned allocator for intent(inout)
arrays that are potentially complex valued.
TST: bump test tolerances
DOC remove `` from loadarff docstring

They were showing up in
http://docs.scipy.org/doc/scipy/reference/generated/scipy.io.arff.loadarff.html
MAINT remove (commented-out) testing code from the ARFF reader

Wasn't working anyway, because the "floupi" function doesn't exist.
Also referred to a file that is not shipped with SciPy.