Skip to content

Commit 6eedb5e

Browse files
committed
timezone compat
1 parent 9f38bda commit 6eedb5e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pandas/tests/indexes/datetimes/test_tools.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@
2727

2828
if PY3:
2929
from datetime import timezone
30+
else:
31+
def timezone(offset, name):
32+
return
3033

3134

3235
class TestTimeConversionFormats(object):

0 commit comments

Comments
 (0)