diff --git a/unittest/python/test_std_array.py b/unittest/python/test_std_array.py index 51d2851f..ea0b89d3 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