Skip to content

Commit eb9bf92

Browse files
committed
Fix compilation issue in py 2.7
1 parent fad361e commit eb9bf92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/computation/test_eval.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1639,7 +1639,7 @@ def test_all_unary_functions_not_supported_in_numpy_112(self):
16391639
expr = "{0}(a)".format(fn)
16401640
with np.errstate(all='ignore'):
16411641
if not hasattr(np, fn):
1642-
msg = f"\"{fn}\" is not a supported function"
1642+
msg = '"{0}" is not a supported function'.format(fn)
16431643
with pytest.raises(ValueError, match=msg):
16441644
self.eval(expr)
16451645

0 commit comments

Comments
 (0)