diff --git a/pandas/tests/reshape/test_merge.py b/pandas/tests/reshape/test_merge.py index d21a8419b384c..93177c7e29ffb 100644 --- a/pandas/tests/reshape/test_merge.py +++ b/pandas/tests/reshape/test_merge.py @@ -1536,6 +1536,9 @@ def test_dtype_on_categorical_dates(self): result = pd.merge(df, df2, how='outer', on=['date']) assert result['date'].dtype == 'category' + result_inner = pd.merge(df, df2, how='inner', on=['date']) + assert result_inner['date'].dtype == 'category' + @pytest.fixture def left_df():