File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change 11
11
from pandas .computation .engines import _engines
12
12
import pandas .computation .expr as expr
13
13
from pandas .computation import _MIN_NUMEXPR_VERSION
14
- # Get reload for Python 3.4 and on, if not, use internal reload()
15
- try :
16
- from importlib import reload
17
- except ImportError :
18
- pass
19
14
20
15
ENGINES_PARSERS = list (product (_engines , expr ._parsers ))
21
16
@@ -28,13 +23,9 @@ def test_compat():
28
23
import numexpr as ne
29
24
ver = ne .__version__
30
25
if ver < LooseVersion (_MIN_NUMEXPR_VERSION ):
31
- with tm .assert_produces_warning (UserWarning ,
32
- check_stacklevel = False ):
33
- reload (pd .computation )
34
26
assert not _NUMEXPR_INSTALLED
35
27
else :
36
28
assert _NUMEXPR_INSTALLED
37
-
38
29
except ImportError :
39
30
pytest .skip ("not testing numexpr version compat" )
40
31
You can’t perform that action at this time.
0 commit comments