Skip to content

TST: wb test failing #8768

Closed
Closed
@jreback

Description

@jreback

xref #8551

cc @jnmclarty

.SS.E
======================================================================
ERROR: test_wdi_search (pandas.io.tests.test_wb.TestWB)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/jreback/pandas/pandas/util/testing.py", line 1417, in wrapper
    return t(*args, **kwargs)
  File "/Users/jreback/pandas/pandas/io/tests/test_wb.py", line 25, in test_wdi_search
    result = search('gdp.*capita.*constant').loc[6716:,['id','name']]
  File "/Users/jreback/pandas/pandas/core/indexing.py", line 1200, in __getitem__
    return self._getitem_tuple(key)
  File "/Users/jreback/pandas/pandas/core/indexing.py", line 704, in _getitem_tuple
    self._has_valid_tuple(tup)
  File "/Users/jreback/pandas/pandas/core/indexing.py", line 131, in _has_valid_tuple
    if not self._has_valid_type(k, i):
  File "/Users/jreback/pandas/pandas/core/indexing.py", line 1260, in _has_valid_type
    (key.start, self.obj._get_axis_name(axis))
KeyError: 'start bound [6716] is not the [index]'

----------------------------------------------------------------------
Ran 5 tests in 14.969s

Metadata

Metadata

Assignees

No one assigned

    Labels

    Testingpandas testing functions or related to the test suite

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions