We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34af96e commit 8e500e2Copy full SHA for 8e500e2
unittest/python/test_std_array.py
@@ -15,7 +15,7 @@
15
ref = [1, 2, 3]
16
assert len(ref[1:2]) == 1 # sanity check
17
18
-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)}"
19
assert _ints_slice[0] == 2
20
assert _ints_slice[1] == 3
21
0 commit comments