Skip to content

Commit 03537ef

Browse files
committed
TST: skip buggy test on numpy < 1.7, 3.2, on 32-bits (GH6270)
1 parent d17f1e9 commit 03537ef

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pandas/tests/test_series.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# pylint: disable-msg=E1101,W0612
22

3+
import sys
34
from datetime import datetime, timedelta
45
import operator
56
import string
@@ -5541,6 +5542,11 @@ def test_isin_with_i8(self):
55415542
#------------------------------------------------------------------------------
55425543
# TimeSeries-specific
55435544
def test_cummethods_bool(self):
5545+
# GH 6270
5546+
# looks like a buggy np.maximum.accumulate for numpy 1.6.1, py 3.2
5547+
if _np_version_under1p7 and sys.version_info[0] == 3 and sys.version_info[1] == 2:
5548+
raise nose.SkipTest("failure of GH6270 on numpy < 1.7 and py 3.2")
5549+
55445550
def cummin(x):
55455551
return np.minimum.accumulate(x)
55465552

0 commit comments

Comments
 (0)