mirror of
https://github.com/elastic/eland.git
synced 2025-07-11 00:02:14 +08:00
Add excluded lines for coverage and improve coverage
This commit is contained in:
parent
a50c3657c4
commit
315f94b201
@ -27,18 +27,11 @@ except ImportError:
|
||||
# pandas>=1.3.0
|
||||
from pandas.core.dtypes.generic import ABCIndex
|
||||
|
||||
try: # pandas>=1.2.0
|
||||
from pandas.plotting._matplotlib.tools import ( # type: ignore
|
||||
from pandas.plotting._matplotlib.tools import ( # type: ignore
|
||||
create_subplots,
|
||||
flatten_axes,
|
||||
set_ticks_props,
|
||||
)
|
||||
except ImportError: # pandas<1.2.0
|
||||
from pandas.plotting._matplotlib.tools import ( # type: ignore
|
||||
_flatten as flatten_axes,
|
||||
_set_ticks_props as set_ticks_props,
|
||||
_subplots as create_subplots,
|
||||
)
|
||||
)
|
||||
|
||||
from eland.utils import try_sort
|
||||
|
||||
|
@ -110,6 +110,7 @@ def test(session, pandas_version: str):
|
||||
"--cov-report",
|
||||
"term-missing",
|
||||
"--cov=eland/",
|
||||
"--cov-config=setup.cfg",
|
||||
"--doctest-modules",
|
||||
"--nbval",
|
||||
*(session.posargs or ("eland/", "tests/")),
|
||||
|
Loading…
x
Reference in New Issue
Block a user