From 8e500e2623b904129ad6e174386c3113ca7319d6 Mon Sep 17 00:00:00 2001 From: Joris Vaillant Date: Tue, 7 Jan 2025 09:57:06 +0100 Subject: [PATCH] unittest: Apply linter --- unittest/python/test_std_array.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittest/python/test_std_array.py b/unittest/python/test_std_array.py index 51d2851f6..ea0b89d3f 100644 --- a/unittest/python/test_std_array.py +++ b/unittest/python/test_std_array.py @@ -15,7 +15,7 @@ ref = [1, 2, 3] assert len(ref[1:2]) == 1 # sanity check -assert len(_ints_slice) == 2, "Slice size should be 1, got %d" % len(_ints_slice) +assert len(_ints_slice) == 2, f"Slice size should be 1, got {len(_ints_slice)}" assert _ints_slice[0] == 2 assert _ints_slice[1] == 3