py-pandas: fix tests (#29044)

This commit is contained in:
Manuela Kuhn 2022-02-21 16:20:33 +01:00 committed by GitHub
parent e7894b4863
commit 0dd5d493d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -101,9 +101,13 @@ class PyPandas(PythonPackage):
@property
def import_modules(self):
modules = super(PythonPackage, self).import_modules
modules = super(__class__, self).import_modules
ignored_imports = ["pandas.tests", "pandas.plotting._matplotlib"]
ignored_imports = [
"pandas.tests",
"pandas.plotting._matplotlib",
"pandas.core._numba.kernels"
]
return [i for i in modules
if not any(map(i.startswith, ignored_imports))]