Skip to content
16 changes: 11 additions & 5 deletions pandas/tests/api/test_api.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import pandas as pd
from pandas import api, compat
from pandas.util import testing as tm
from typing import List


class Base:
Expand Down Expand Up @@ -41,7 +42,8 @@ class TestPDApi(Base):
]

# these are already deprecated; awaiting removal
deprecated_modules = []
# GH #28926
deprecated_modules: List[str] = []

# misc
misc = ["IndexSlice", "NaT"]
Expand Down Expand Up @@ -92,10 +94,12 @@ class TestPDApi(Base):
classes.extend(["Panel", "SparseSeries", "SparseDataFrame"])

# these are already deprecated; awaiting removal
deprecated_classes = []
# GH #28926
deprecated_classes: List[str] = []

# these should be deprecated in the future
deprecated_classes_in_future = []
# GH #28926
deprecated_classes_in_future: List[str] = []

# external modules exposed in pandas namespace
modules = ["np", "datetime"]
Expand Down Expand Up @@ -171,10 +175,12 @@ class TestPDApi(Base):
funcs_to = ["to_datetime", "to_msgpack", "to_numeric", "to_pickle", "to_timedelta"]

# top-level to deprecate in the future
deprecated_funcs_in_future = []
# GH #28926
deprecated_funcs_in_future: List[str] = []

# these are already deprecated; awaiting removal
deprecated_funcs = []
# GH #28926
deprecated_funcs: List[str] = []

# private modules in pandas namespace
private_modules = [
Expand Down