You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
jreback opened this issue
May 15, 2014
· 0 comments
· Fixed by #7144
Labels
BugCompatpandas objects compatability with Numpy or Python functionsTestingpandas testing functions or related to the test suiteTimezonesTimezone data dtype
======================================================================
FAIL: test_getitem_setitem_datetime_tz (pandas.tests.test_series.TestSeries)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/mnt/home/jreback/venv/py2.7_bottleneck/pandas/pandas/tests/test_series.py", line 4594, in test_getitem_setitem_datetime_tz
assert_series_equal(result, ts)
File "/mnt/home/jreback/venv/py2.7_bottleneck/pandas/pandas/util/testing.py", line 530, in assert_series_equal
assert_almost_equal(left.values, right.values, check_less_precise)
File "testing.pyx", line 58, in pandas._testing.assert_almost_equal (pandas/src/testing.c:2536)
File "testing.pyx", line 82, in pandas._testing.assert_almost_equal (pandas/src/testing.c:1710)
AssertionError: Length of two iterators not the same: 51 != 50
----------------------------------------------------------------------
Ran 311 tests in 2.951s
FAILED (SKIP=6, failures=1)
(py2.7_bottleneck)jreback@sheep:~/venv/py2.7_bottleneck/pandas$ nosetests pandas//tseries/tests/test_timezones.py
.................E.....F.......................F..................
======================================================================
ERROR: test_getitem_pydatetime_tz (pandas.tseries.tests.test_timezones.TestTimeZoneSupport)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/mnt/home/jreback/venv/py2.7_bottleneck/pandas/pandas/tseries/tests/test_timezones.py", line 648, in test_getitem_pydatetime_tz
self.assertEqual(ts[time_pandas], ts[time_datetime])
File "/mnt/home/jreback/venv/py2.7_bottleneck/pandas/pandas/core/series.py", line 475, in __getitem__
result = self.index.get_value(self, key)
File "/mnt/home/jreback/venv/py2.7_bottleneck/pandas/pandas/tseries/index.py", line 1263, in get_value
return self.get_value_maybe_box(series, key)
File "/mnt/home/jreback/venv/py2.7_bottleneck/pandas/pandas/tseries/index.py", line 1289, in get_value_maybe_box
values = self._engine.get_value(_values_from_object(series), key)
File "index.pyx", line 97, in pandas.index.IndexEngine.get_value (pandas/index.c:2987)
File "index.pyx", line 105, in pandas.index.IndexEngine.get_value (pandas/index.c:2802)
File "index.pyx", line 515, in pandas.index.DatetimeEngine.get_loc (pandas/index.c:9256)
KeyError: Timestamp('2012-12-24 17:07:00+0100', tz='Europe/Berlin')
======================================================================
FAIL: test_infer_tz (pandas.tseries.tests.test_timezones.TestTimeZoneSupport)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/mnt/home/jreback/venv/py2.7_bottleneck/pandas/pandas/tseries/tests/test_timezones.py", line 396, in test_infer_tz
assert(tools._infer_tzinfo(start, end) is eastern)
AssertionError
======================================================================
FAIL: test_with_tz (pandas.tseries.tests.test_timezones.TestTimeZoneSupport)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/mnt/home/jreback/venv/py2.7_bottleneck/pandas/pandas/tseries/tests/test_timezones.py", line 321, in test_with_tz
self.assertIs(central[0].tz, tz)
File "/mnt/home/jreback/venv/py2.7_bottleneck/pandas/pandas/util/testing.py", line 94, in assertIs
assert a is b, "%s: %r is not %r" % (msg.format(a,b), a, b)
AssertionError: : <DstTzInfo 'US/Central' CST-1 day, 18:00:00 STD> is not <DstTzInfo 'US/Central' LMT-1 day, 18:09:00 STD>
----------------------------------------------------------------------
Ran 66 tests in 0.488s
FAILED (errors=1, failures=2)
(py2.7_bottleneck)jreback@sheep:~/venv/py2.7_bottleneck/pandas$
The text was updated successfully, but these errors were encountered:
BugCompatpandas objects compatability with Numpy or Python functionsTestingpandas testing functions or related to the test suiteTimezonesTimezone data dtype
only shows on the numpy 1.9-dev build as this is the only one to pull a current version of pytz
Bug report for pytz
https://bugs.launchpad.net/pytz/+bug/1319939
The text was updated successfully, but these errors were encountered: