Skip to content

Commit

Permalink
Relax the exact message for the ImportError
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesc Alted committed Feb 14, 2017
1 parent 73f0319 commit c081199
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pandas/tests/computation/test_compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ def testit():
pytest.skip("no numexpr")
else:
if ne.__version__ < LooseVersion(_MIN_NUMEXPR_VERSION):
with tm.assertRaisesRegexp(ImportError, "'numexpr' version is "
".+, must be >= %s" % _MIN_NUMEXPR_VERSION):
with tm.assertRaises(ImportError):
testit()
else:
testit()
Expand Down

0 comments on commit c081199

Please sign in to comment.