Skip to content
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