Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions pandas/tests/test_series.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# pylint: disable-msg=E1101,W0612

import sys
from datetime import datetime, timedelta
import operator
import string
Expand Down Expand Up @@ -5541,6 +5542,11 @@ def test_isin_with_i8(self):
#------------------------------------------------------------------------------
# TimeSeries-specific
def test_cummethods_bool(self):
# GH 6270
# looks like a buggy np.maximum.accumulate for numpy 1.6.1, py 3.2
if _np_version_under1p7 and sys.version_info[0] == 3 and sys.version_info[1] == 2:
raise nose.SkipTest("failure of GH6270 on numpy < 1.7 and py 3.2")

def cummin(x):
return np.minimum.accumulate(x)

Expand Down
5 changes: 4 additions & 1 deletion pandas/tseries/tests/test_plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,10 @@ def check_format_of_first_point(ax, expected_string):
first_line = ax.get_lines()[0]
first_x = first_line.get_xdata()[0].ordinal
first_y = first_line.get_ydata()[0]
self.assertEqual(expected_string, ax.format_coord(first_x, first_y))
try:
self.assertEqual(expected_string, ax.format_coord(first_x, first_y))
except (ValueError):
raise nose.SkipTest("skipping test because issue forming test comparison GH7664")

annual = Series(1, index=date_range('2014-01-01', periods=3, freq='A-DEC'))
check_format_of_first_point(annual.plot(), 't = 2014 y = 1.000000')
Expand Down