Skip to content

Commit 486472a

Browse files
simonjayhawkinsjreback
authored andcommitted
CLN: remove pandas.core.categorical (pandas-dev#25655)
1 parent 69551aa commit 486472a

File tree

2 files changed

+0
-26
lines changed

2 files changed

+0
-26
lines changed

pandas/core/categorical.py

-9
This file was deleted.

pandas/tests/api/test_api.py

-17
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
# -*- coding: utf-8 -*-
2-
import sys
3-
42
import pandas as pd
53
from pandas import api
64
from pandas.util import testing as tm
@@ -148,18 +146,3 @@ def test_deprecation_cdaterange(self):
148146
with tm.assert_produces_warning(FutureWarning,
149147
check_stacklevel=False):
150148
cdate_range('2017-01-01', '2017-12-31')
151-
152-
153-
class TestCategoricalMove(object):
154-
155-
def test_categorical_move(self):
156-
# May have been cached by another import, e.g. pickle tests.
157-
sys.modules.pop("pandas.core.categorical", None)
158-
159-
with tm.assert_produces_warning(FutureWarning):
160-
from pandas.core.categorical import Categorical # noqa
161-
162-
sys.modules.pop("pandas.core.categorical", None)
163-
164-
with tm.assert_produces_warning(FutureWarning):
165-
from pandas.core.categorical import CategoricalDtype # noqa

0 commit comments

Comments
 (0)