Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLN: remove pandas.core.categorical #25655

Merged
merged 1 commit into from
Mar 13, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions pandas/core/categorical.py

This file was deleted.

17 changes: 0 additions & 17 deletions pandas/tests/api/test_api.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
import sys

import pandas as pd
from pandas import api
from pandas.util import testing as tm
Expand Down Expand Up @@ -148,18 +146,3 @@ def test_deprecation_cdaterange(self):
with tm.assert_produces_warning(FutureWarning,
check_stacklevel=False):
cdate_range('2017-01-01', '2017-12-31')


class TestCategoricalMove(object):

def test_categorical_move(self):
# May have been cached by another import, e.g. pickle tests.
sys.modules.pop("pandas.core.categorical", None)

with tm.assert_produces_warning(FutureWarning):
from pandas.core.categorical import Categorical # noqa

sys.modules.pop("pandas.core.categorical", None)

with tm.assert_produces_warning(FutureWarning):
from pandas.core.categorical import CategoricalDtype # noqa