summaryrefslogtreecommitdiff
path: root/numpy
diff options
context:
space:
mode:
authorJohn Kirkham <kirkhamj@janelia.hhmi.org>2016-02-08 18:50:36 -0500
committerJohn Kirkham <kirkhamj@janelia.hhmi.org>2016-02-08 18:50:36 -0500
commit8e46c6c86c66f422fa7b53714b81f872733c34d9 (patch)
treeb7d4a7dc0036c0eda558b8494f316be258603fee /numpy
parent594efedc183089ae28bca3044b3aaa8cee3adc65 (diff)
downloadnumpy-8e46c6c86c66f422fa7b53714b81f872733c34d9.tar.gz
TST: Drop `FutureWarning` filters from tests where they were added.
Diffstat (limited to 'numpy')
-rw-r--r--numpy/ma/tests/test_core.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/numpy/ma/tests/test_core.py b/numpy/ma/tests/test_core.py
index d68e63358..b163d3b26 100644
--- a/numpy/ma/tests/test_core.py
+++ b/numpy/ma/tests/test_core.py
@@ -2223,7 +2223,6 @@ class TestMaskedArrayInPlaceArithmetics(TestCase):
for t in self.othertypes:
with warnings.catch_warnings(record=True) as w:
warnings.filterwarnings("always")
- warnings.simplefilter('ignore', FutureWarning)
(x, y, xm) = (_.astype(t) for _ in self.uint8data)
xm[2] = masked
x += t(1)
@@ -2238,7 +2237,6 @@ class TestMaskedArrayInPlaceArithmetics(TestCase):
for t in self.othertypes:
with warnings.catch_warnings(record=True) as w:
warnings.filterwarnings("always")
- warnings.simplefilter('ignore', FutureWarning)
(x, y, xm) = (_.astype(t) for _ in self.uint8data)
m = xm.mask
a = arange(10, dtype=t)
@@ -2269,7 +2267,6 @@ class TestMaskedArrayInPlaceArithmetics(TestCase):
for t in self.othertypes:
with warnings.catch_warnings(record=True) as w:
warnings.filterwarnings("always")
- warnings.simplefilter('ignore', FutureWarning)
(x, y, xm) = (_.astype(t) for _ in self.uint8data)
m = xm.mask
a = arange(10, dtype=t)
@@ -2300,7 +2297,6 @@ class TestMaskedArrayInPlaceArithmetics(TestCase):
for t in self.othertypes:
with warnings.catch_warnings(record=True) as w:
warnings.filterwarnings("always")
- warnings.simplefilter('ignore', FutureWarning)
(x, y, xm) = (_.astype(t) for _ in self.uint8data)
m = xm.mask
a = arange(10, dtype=t)
@@ -2318,7 +2314,6 @@ class TestMaskedArrayInPlaceArithmetics(TestCase):
for t in self.othertypes:
with warnings.catch_warnings(record=True) as w:
warnings.filterwarnings("always")
- warnings.simplefilter('ignore', FutureWarning)
(x, y, xm) = (_.astype(t) for _ in self.uint8data)
x = arange(10, dtype=t) * t(2)
xm = arange(10, dtype=t) * t(2)
@@ -2335,7 +2330,6 @@ class TestMaskedArrayInPlaceArithmetics(TestCase):
for t in self.othertypes:
with warnings.catch_warnings(record=True) as w:
warnings.filterwarnings("always")
- warnings.simplefilter('ignore', FutureWarning)
(x, y, xm) = (_.astype(t) for _ in self.uint8data)
m = xm.mask
a = arange(10, dtype=t)
@@ -2356,7 +2350,6 @@ class TestMaskedArrayInPlaceArithmetics(TestCase):
for t in self.othertypes:
with warnings.catch_warnings(record=True) as w:
warnings.filterwarnings("always")
- warnings.simplefilter('ignore', FutureWarning)
(x, y, xm) = (_.astype(t) for _ in self.uint8data)
x = arange(10, dtype=t) * t(2)
xm = arange(10, dtype=t) * t(2)
@@ -2392,7 +2385,6 @@ class TestMaskedArrayInPlaceArithmetics(TestCase):
for t in self.othertypes:
with warnings.catch_warnings(record=True) as w:
warnings.filterwarnings("always")
- warnings.simplefilter('ignore', FutureWarning)
(x, y, xm) = (_.astype(t) for _ in self.uint8data)
m = xm.mask
a = arange(10, dtype=t)