Skip to content

pandas-0.15.0 test failure test_string_index_alias_tz_aware (pandas.tseries.tests.test_timezones.TestTimeZoneSupportDateutil) #8639

Closed
@jlec

Description

@jlec

ERROR: test_string_index_alias_tz_aware (pandas.tseries.tests.test_timezones.TestTimeZoneSupportDateutil)

Traceback (most recent call last):
File "/var/tmp/portage/dev-python/pandas-0.15.0/work/pandas-0.15.0-python3_3/lib/pandas/tseries/tests/test_timezones.py", line 606, in test_string_index_alias_tz_aware
self.assertAlmostEqual(result, ts[2])
File "/usr/lib64/python3.3/unittest/case.py", line 665, in assertAlmostEqual
if first == second:
File "/var/tmp/portage/dev-python/pandas-0.15.0/work/pandas-0.15.0-python3_3/lib/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().

Metadata

Metadata

Assignees

No one assigned

    Labels

    TimezonesTimezone data dtype

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions