Skip to content

TST: failing box plot tests on windows #8091

Closed
@jreback

Description

@jreback

These are failing on 34-64 and 33-32

======================================================================
ERROR: test_boxplot (pandas.tests.test_graphics.TestDataFrameGroupByPlots)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win32-3.3\pandas\tests\test_graphics.py", line 2629, in test_boxplot
    self._check_axes_shape(axes.values(), axes_num=2, layout=(1, 2))
  File "c:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win32-3.3\pandas\tests\test_graphics.py", line 302, in _check_axes_shape
    visible_axes = self._flatten_visible(axes)
  File "c:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win32-3.3\pandas\tests\test_graphics.py", line 337, in _flatten_visible
    axes = [ax for ax in axes if ax.get_visible()]
TypeError: iteration over a 0-d array

======================================================================
ERROR: test_grouped_box_multiple_axes (pandas.tests.test_graphics.TestDataFrameGroupByPlots)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win32-3.3\pandas\tests\test_graphics.py", line 2827, in test_grouped_box_multiple_axes
    self._check_axes_shape(returned, axes_num=3, layout=(1, 3))
  File "c:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win32-3.3\pandas\tests\test_graphics.py", line 302, in _check_axes_shape
    visible_axes = self._flatten_visible(axes)
  File "c:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win32-3.3\pandas\tests\test_graphics.py", line 337, in _flatten_visible
    axes = [ax for ax in axes if ax.get_visible()]
  File "c:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win32-3.3\pandas\tests\test_graphics.py", line 337, in <listcomp>
    axes = [ax for ax in axes if ax.get_visible()]
AttributeError: 'ValuesView' object has no attribute 'get_visible'

----------------------------------------------------------------------
Ran 7627 tests in 1222.636s

FAILED (SKIP=368, errors=2)

C:\Users\Jeff Reback\Documents\GitHub\pandas>more versions.33-32.log

INSTALLED VERSIONS
------------------
commit: None
python: 3.3.3.final.0
python-bits: 32
OS: Windows
OS-release: 7
machine: AMD64
processor: Intel64 Family 6 Model 42 Stepping 7, GenuineIntel
byteorder: little
LC_ALL: None
LANG: None

pandas: 0.12.0
nose: 1.3.0
Cython: 0.19.2
numpy: 1.8.0
scipy: 0.13.1
statsmodels: 0.5.0
IPython: 1.1.0
sphinx: None
patsy: 0.2.1
scikits.timeseries: None
dateutil: 2.2
pytz: 2013.8
bottleneck: 0.7.0
tables: 3.0.0
numexpr: 2.2.2
matplotlib: 1.3.1
openpyxl: None
xlrd: None
xlwt: None
xlsxwriter: None
lxml: None
bs4: None
html5lib: None
httplib2: None
apiclient: None
rpy2: None
sqlalchemy: 0.9.3
pymysql: 0.6.1.None
psycopg2: 2.5.2 (dt dec pq3 ext)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Testingpandas testing functions or related to the test suiteVisualizationplottingWindowsWindows OS

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions