Skip to content

Commit 9725fe7

Browse files
author
Chang She
committed
TST: typo in _check_ew_ndarray that skips int to float conversion check
1 parent ac7a527 commit 9725fe7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/stats/tests/test_moments.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ def _check_ew_ndarray(self, func, preserve_nan=False):
220220

221221
# pass in ints
222222
result2 = func(np.arange(50), span=10)
223-
self.assert_(result.dtype == np.float_)
223+
self.assert_(result2.dtype == np.float_)
224224

225225
def _check_ew_structures(self, func):
226226
series_result = func(self.series, com=10)

0 commit comments

Comments
 (0)