From f22559876b130891e7c834cf269d1289307e3fa3 Mon Sep 17 00:00:00 2001 From: Francesc Alted Date: Mon, 13 Feb 2017 13:04:58 +0100 Subject: [PATCH] Updated test_compat for numexpr 2.4.6 --- pandas/tests/computation/test_compat.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pandas/tests/computation/test_compat.py b/pandas/tests/computation/test_compat.py index 599d0c10336dc..693697f3f03bb 100644 --- a/pandas/tests/computation/test_compat.py +++ b/pandas/tests/computation/test_compat.py @@ -21,9 +21,7 @@ def test_compat(): try: import numexpr as ne ver = ne.__version__ - if ver == LooseVersion('2.4.4'): - assert not _NUMEXPR_INSTALLED - elif ver < LooseVersion('2.1'): + elif ver < LooseVersion('2.4.6'): with tm.assert_produces_warning(UserWarning, check_stacklevel=False): assert not _NUMEXPR_INSTALLED