Skip to content

Commit

Permalink
PeriodDtype needs freq
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAugspurger committed Nov 29, 2018
1 parent 10d2c8a commit 50e1aeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/tests/io/json/test_json_table_schema.py
Original file line number Diff line number Diff line change
@@ -150,7 +150,7 @@ def test_as_json_table_type_bool_dtypes(self, bool_dtype):
assert as_json_table_type(bool_dtype) == 'boolean'

@pytest.mark.parametrize('date_dtype', [
np.datetime64, np.dtype("<M8[ns]"), PeriodDtype(),
np.datetime64, np.dtype("<M8[ns]"), PeriodDtype('D'),
DatetimeTZDtype('ns', 'US/Central')])
def test_as_json_table_type_date_dtypes(self, date_dtype):
# TODO: datedate.date? datetime.time?

0 comments on commit 50e1aeb

Please sign in to comment.