Closed
Description
While building a fresh snapshot (6c692ae) for debians ran into the following consistent one on debian stable and testing (built fine on 64bit, but failed in 32bit userspace):
======================================================================
ERROR: test_searchsorted_sorter (pandas.tests.series.test_analytics.TestSeriesAnalytics)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/pandas-0.18.0+git114-g6c692ae/debian/tmp/usr/lib/python2.7/dist-packages/pandas/tests/series/test_analytics.py", line 1331, in test_searchsorted_sorter
r = s.searchsorted([0, 3], sorter=np.argsort(s))
File "/build/pandas-0.18.0+git114-g6c692ae/debian/tmp/usr/lib/python2.7/dist-packages/pandas/core/series.py", line 1488, in searchsorted
side=side, sorter=sorter)
ValueError: could not parse sorter argument
======================================================================
FAIL: test_sparse_max_row (pandas.tests.formats.test_format.TestSeriesFormatting)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/build/pandas-0.18.0+git114-g6c692ae/debian/tmp/usr/lib/python2.7/dist-packages/pandas/tests/formats/test_format.py", line 3724, in test_sparse_max_row
self.assertEqual(result, exp)
AssertionError: '0 1.0\n1 NaN\n2 NaN\n3 3.0\n4 NaN\ndtype: float64\nBlockIndex\nBlock locations: array([0, 3])\nBlock lengths: array([1, 1])' != '0 1.0\n1 NaN\n2 NaN\n3 3.0\n4 NaN\ndtype: float64\nBlockIndex\nBlock locations: array([0, 3], dtype=int32)\nBlock lengths: array([1, 1], dtype=int32)'
I will replicate in interactive env atm, but thought that may be you have dealt with it already or smth so I wouldn't ;-)