Skip to content

Commit 3c2b6a5

Browse files
authored
Remove ctime.pyx (#47133)
1 parent 17c6e2b commit 3c2b6a5

File tree

4 files changed

+1
-126
lines changed

4 files changed

+1
-126
lines changed

pandas/_libs/tslibs/ctime.pyx

-78
This file was deleted.

pandas/tests/tslibs/test_api.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,5 @@ def test_namespace():
5656
]
5757

5858
expected = set(submodules + api)
59-
# exclude "ctime" bc it is not (yet) imported outside of tests
60-
names = [x for x in dir(tslibs) if not x.startswith("__") and x != "ctime"]
59+
names = [x for x in dir(tslibs) if not x.startswith("__")]
6160
assert set(names) == expected

pandas/tests/tslibs/test_ctime.py

-44
This file was deleted.

setup.py

-2
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,6 @@ class CheckSDist(sdist_class):
210210
"pandas/_libs/parsers.pyx",
211211
"pandas/_libs/tslibs/base.pyx",
212212
"pandas/_libs/tslibs/ccalendar.pyx",
213-
"pandas/_libs/tslibs/ctime.pyx",
214213
"pandas/_libs/tslibs/dtypes.pyx",
215214
"pandas/_libs/tslibs/period.pyx",
216215
"pandas/_libs/tslibs/strptime.pyx",
@@ -496,7 +495,6 @@ def srcpath(name=None, suffix=".pyx", subdir="src"):
496495
"_libs.tslib": {"pyxfile": "_libs/tslib", "depends": tseries_depends},
497496
"_libs.tslibs.base": {"pyxfile": "_libs/tslibs/base"},
498497
"_libs.tslibs.ccalendar": {"pyxfile": "_libs/tslibs/ccalendar"},
499-
"_libs.tslibs.ctime": {"pyxfile": "_libs/tslibs/ctime"},
500498
"_libs.tslibs.dtypes": {"pyxfile": "_libs/tslibs/dtypes"},
501499
"_libs.tslibs.conversion": {
502500
"pyxfile": "_libs/tslibs/conversion",

0 commit comments

Comments
 (0)