Skip to content

Commit c081199

Browse files
author
Francesc Alted
committed
Relax the exact message for the ImportError
1 parent 73f0319 commit c081199

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/tests/computation/test_compat.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ def testit():
5252
pytest.skip("no numexpr")
5353
else:
5454
if ne.__version__ < LooseVersion(_MIN_NUMEXPR_VERSION):
55-
with tm.assertRaisesRegexp(ImportError, "'numexpr' version is "
56-
".+, must be >= %s" % _MIN_NUMEXPR_VERSION):
55+
with tm.assertRaises(ImportError):
5756
testit()
5857
else:
5958
testit()

0 commit comments

Comments
 (0)