Skip to content

Commit 444de67

Browse files
Fixing test
1 parent 6a9ee5a commit 444de67

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pandas/tests/api/test_api.py

+6
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from pandas import api
77
import pandas._testing as tm
88
from pandas.api import (
9+
executors as api_executors,
910
extensions as api_extensions,
1011
indexers as api_indexers,
1112
interchange as api_interchange,
@@ -243,6 +244,7 @@ def test_depr(self):
243244

244245
class TestApi(Base):
245246
allowed_api_dirs = [
247+
"executors",
246248
"types",
247249
"extensions",
248250
"indexers",
@@ -338,6 +340,7 @@ class TestApi(Base):
338340
"ExtensionArray",
339341
"ExtensionScalarOpsMixin",
340342
]
343+
allowed_api_executors = ["BaseExecutionEngine"]
341344

342345
def test_api(self):
343346
self.check(api, self.allowed_api_dirs)
@@ -357,6 +360,9 @@ def test_api_indexers(self):
357360
def test_api_extensions(self):
358361
self.check(api_extensions, self.allowed_api_extensions)
359362

363+
def test_api_executors(self):
364+
self.check(api_executors, self.allowed_api_executors)
365+
360366

361367
class TestErrors(Base):
362368
def test_errors(self):

0 commit comments

Comments
 (0)