Skip to content

TST: skip buggy tests on debian (GH6270, GH7664) #7675

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 7, 2014
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