File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 22from functools import reduce
33from itertools import product
44import operator
5+ from typing import Dict , Type
56import warnings
67
78import numpy as np
1920from pandas .core .computation .check import _NUMEXPR_VERSION
2021from pandas .core .computation .engines import NumExprClobberingError , _engines
2122import pandas .core .computation .expr as expr
22- from pandas .core .computation .expr import PandasExprVisitor , PythonExprVisitor
23+ from pandas .core .computation .expr import (
24+ BaseExprVisitor ,
25+ PandasExprVisitor ,
26+ PythonExprVisitor ,
27+ )
2328from pandas .core .computation .expressions import _NUMEXPR_INSTALLED , _USE_NUMEXPR
2429from pandas .core .computation .ops import (
2530 _arith_ops_syms ,
@@ -1884,7 +1889,7 @@ def test_invalid_parser():
18841889 "python" : PythonExprVisitor ,
18851890 "pytables" : pytables .ExprVisitor ,
18861891 "pandas" : PandasExprVisitor ,
1887- }
1892+ } # type: Dict[str, Type[BaseExprVisitor]]
18881893
18891894
18901895@pytest .mark .parametrize ("engine" , _engines )
Original file line number Diff line number Diff line change @@ -145,9 +145,6 @@ ignore_errors=True
145145[mypy-pandas.tests.arrays.test_period]
146146ignore_errors =True
147147
148- [mypy-pandas.tests.computation.test_eval]
149- ignore_errors =True
150-
151148[mypy-pandas.tests.dtypes.test_common]
152149ignore_errors =True
153150
You can’t perform that action at this time.
0 commit comments