diff options
author | Anton Ritter-Gogerly <anton@antonviktor.com> | 2020-01-26 14:12:31 +1100 |
---|---|---|
committer | Anton Ritter-Gogerly <anton@antonviktor.com> | 2020-01-27 09:20:55 +1100 |
commit | 764c25bb8a9e5be60455ac7d6947318efbbb93aa (patch) | |
tree | 16f4f9b133ac94139f1abf398ef0dae55841f767 /numpy/polynomial/tests/test_classes.py | |
parent | 9b7e890b014f6ad3b4288246f0565f7afd6eca84 (diff) | |
download | numpy-764c25bb8a9e5be60455ac7d6947318efbbb93aa.tar.gz |
Updated files in polynomial/ to use fstrings
Diffstat (limited to 'numpy/polynomial/tests/test_classes.py')
-rw-r--r-- | numpy/polynomial/tests/test_classes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/polynomial/tests/test_classes.py b/numpy/polynomial/tests/test_classes.py index 68656bc98..a2682bd36 100644 --- a/numpy/polynomial/tests/test_classes.py +++ b/numpy/polynomial/tests/test_classes.py @@ -42,7 +42,7 @@ def assert_poly_almost_equal(p1, p2, msg=""): assert_(np.all(p1.window == p2.window)) assert_almost_equal(p1.coef, p2.coef) except AssertionError: - msg = "Result: %s\nTarget: %s", (p1, p2) + msg = f"Result: {p1}\nTarget: {p2}" raise AssertionError(msg) |