File tree 2 files changed +2
-1
lines changed
2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -57,4 +57,4 @@ Bug Fixes
57
57
58
58
- Bug in ``pd.pivot_table`` may raise ``TypeError`` or ``ValueError`` when ``index`` or ``columns``
59
59
is not scalar and ``values`` is not specified (:issue:`14380`)
60
- - pd.eval('' ) and df.query('') now show better error message and raise ``ValueError`` (:issue: `13139`)
60
+ - corrrecly raise ``ValueError`` on empty input to pd.eval() and df.query() (:issue: `13139`)
Original file line number Diff line number Diff line change @@ -1892,6 +1892,7 @@ def test_bad_resolver_raises():
1892
1892
1893
1893
1894
1894
def check_empty_string_raises (engine , parser ):
1895
+ # GH 13139
1895
1896
tm .skip_if_no_ne (engine )
1896
1897
with tm .assertRaisesRegexp (ValueError , 'expr cannot be an empty string' ):
1897
1898
pd .eval ('' , engine = engine , parser = parser )
You can’t perform that action at this time.
0 commit comments