We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa40dd0 commit e0e8bf1Copy full SHA for e0e8bf1
pandas/tests/test_nanops.py
@@ -9,12 +9,13 @@
9
import pandas.core.nanops as nanops
10
import pandas.util.testing as tm
11
12
-nanops._USE_BOTTLENECK = False
13
-
+use_bn = nanops._USE_BOTTLENECK
14
15
class TestnanopsDataFrame(tm.TestCase):
+
16
def setUp(self):
17
np.random.seed(11235)
18
+ nanops._USE_BOTTLENECK = False
19
20
self.arr_shape = (11, 7, 5)
21
@@ -116,6 +117,9 @@ def setUp(self):
116
117
self.arr_float_nan_inf_1d = self.arr_float_nan_inf[:, 0, 0]
118
self.arr_nan_nan_inf_1d = self.arr_nan_nan_inf[:, 0, 0]
119
120
+ def tearDown(self):
121
+ nanops._USE_BOTTLENECK = use_bn
122
123
def check_results(self, targ, res, axis):
124
res = getattr(res, 'asm8', res)
125
res = getattr(res, 'values', res)
0 commit comments