From 3cb2307aced871f3e4be39c28880882be33108bc Mon Sep 17 00:00:00 2001 From: Filipe Fernandes Date: Tue, 2 Apr 2024 18:20:06 +0200 Subject: [PATCH] fix with ruff --- tests/test_plotting.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_plotting.py b/tests/test_plotting.py index 01e3401..89edafa 100644 --- a/tests/test_plotting.py +++ b/tests/test_plotting.py @@ -24,8 +24,8 @@ def _assert_is_valid_plot_return_object(objs): else: assert isinstance(objs, (plt.Artist, tuple, dict)), ( "objs is neither an ndarray of Artist instances nor a " - 'single Artist instance, tuple, or dict, "objs" is a {!r} ' - "".format(objs.__class__.__name__) + f'single Artist instance, tuple, or dict, "objs" is a {objs.__class__.__name__!r} ' + "" )