Skip to content

TST: test failures on 3.4/windows for timezones #7420

Closed
@jreback

Description

@jreback
 ======================================================================
ERROR: test_string_index_alias_tz_aware (pandas.tseries.tests.test_timezones.TestTimeZoneSupportDateutil)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win-amd64-3.4\pandas\tseries\tests\test_timezones.py", line 561, in test_string_index_alias_tz_aware
    self.assertAlmostEqual(result, ts[2])
  File "C:\Python34-64\lib\unittest\case.py", line 818, in assertAlmostEqual
    if first == second:
  File "c:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win-amd64-3.4\pandas\core\generic.py", line 692, in __nonzero__
    .format(self.__class__.__name__))
ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().

======================================================================
FAIL: test_series_frame_tz_convert (pandas.tseries.tests.test_timezones.TestTimeZones)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win-amd64-3.4\pandas\tseries\tests\test_timezones.py", line 870, in test_series_frame_tz_convert
    assert_frame_equal(result, expected.T)
  File "c:\Users\Jeff Reback\Documents\GitHub\pandas\build\lib.win-amd64-3.4\pandas\util\testing.py", line 578, in assert_frame_equal
    assert col in right
AssertionError

----------------------------------------------------------------------
Ran 7330 tests in 533.475s

FAILED (SKIP=220, errors=1, failures=1)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Testingpandas testing functions or related to the test suiteTimezonesTimezone data dtype

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions