Skip to content

tseries and TestSeries test errors on Python 3.3 and OSX #11232

Closed
@matthew-brett

Description

@matthew-brett

Building and testing OSX wheels for 0.17.0, I am getting these errors on Python 3.3 (not 2.7 or 3.4 or 3.5):

======================================================================
FAIL: test_isin (pandas.tseries.tests.test_timedeltas.TestTimedeltaIndex)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/travis/build/MacPython/pandas-wheels/venv/lib/python3.3/site-packages/pandas/tseries/tests/test_timedeltas.py", line 1406, in test_isin
    self.assertTrue(result.all())
AssertionError: False is not true

======================================================================
FAIL: test_isin (pandas.tseries.tests.test_timeseries.TestDatetimeIndex)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/travis/build/MacPython/pandas-wheels/venv/lib/python3.3/site-packages/pandas/tseries/tests/test_timeseries.py", line 2923, in test_isin
    self.assertTrue(result.all())
AssertionError: False is not true

======================================================================
FAIL: test_isin_with_i8 (pandas.tests.test_series.TestSeries)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/travis/build/MacPython/pandas-wheels/venv/lib/python3.3/site-packages/pandas/tests/test_series.py", line 7268, in test_isin_with_i8
    assert_series_equal(result, expected)
  File "/Users/travis/build/MacPython/pandas-wheels/venv/lib/python3.3/site-packages/pandas/util/testing.py", line 925, in assert_series_equal
    check_less_precise, obj='{0}'.format(obj))
  File "pandas/src/testing.pyx", line 58, in pandas._testing.assert_almost_equal (pandas/src/testing.c:3809)
  File "pandas/src/testing.pyx", line 147, in pandas._testing.assert_almost_equal (pandas/src/testing.c:2685)
  File "/Users/travis/build/MacPython/pandas-wheels/venv/lib/python3.3/site-packages/pandas/util/testing.py", line 798, in raise_assert_detail
    raise AssertionError(msg)
AssertionError: Series are different

Series values are different (40.0 %)
[left]:  [False, False, False, False, False]
[right]: [True, True, False, False, False]

Full log at https://s3.amazonaws.com/archive.travis-ci.org/jobs/83497520/log.txt

I think I'm testing with the same parameters as the Linux test runs. Am I missing something?

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