numpy/numpy — pull request #4831 by charris (2014-06-30 02:26:31+00:00)
Title: MAINT: Simplify some uses of errstate context manager.

This changes, e.g.,

with np.errstate():
np.seterr(divide='ignore')
...

to

with np.errstate(divide='ignore'):
...