Skip to content

Commit

Permalink
udpate test_parquet since fastparquet now handles tz
Browse files Browse the repository at this point in the history
  • Loading branch information
minggli committed Jan 28, 2018
1 parent d3f7d2a commit eb55928
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pandas/tests/io/test_parquet.py
Original file line number Diff line number Diff line change
Expand Up @@ -486,10 +486,9 @@ def test_datetime_tz(self, fp):
# doesn't preserve tz
df = pd.DataFrame({'a': pd.date_range('20130101', periods=3,
tz='US/Eastern')})

# warns on the coercion
with catch_warnings(record=True):
check_round_trip(df, fp, expected=df.astype('datetime64[ns]'))
check_round_trip(df, fp)

def test_filter_row_groups(self, fp):
d = {'a': list(range(0, 3))}
Expand Down

0 comments on commit eb55928

Please sign in to comment.