8000 STY: More taking into account reviewer's comments · r-devulap/numpy@c950df9 · GitHub
[go: up one dir, main page]

Skip to content

Commit c950df9

Browse files
STY: More taking into account reviewer's comments
Unwrap the array arbitrarily split over two lines, as it fits the new default line-length limit of 88 characters. Co-authored-by: Joren Hammudoglu <jhammudoglu@gmail.com>
1 parent 493face commit c950df9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

numpy/_core/tests/test_arrayprint.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,8 +320,8 @@ def test_structure_format_float(self):
320320
assert_equal(np.array2string(array_scalar), "(1., 2.12345679, 3.)")
321321

322322
def test_unstructured_void_repr(self):
323-
a = np.array([27, 91, 50, 75, 7, 65, 10, 8,
324-
27, 91, 51, 49, 109, 82, 101, 100], dtype='u1').view('V8')
323+
a = np.array([27, 91, 50, 75, 7, 65, 10, 8, 27, 91, 51, 49, 109, 82, 101, 100],
324+
dtype='u1').view('V8')
325325
assert_equal(repr(a[0]),
326326
r"np.void(b'\x1B\x5B\x32\x4B\x07\x41\x0A\x08')")
327327
assert_equal(str(a[0]), r"b'\x1B\x5B\x32\x4B\x07\x41\x0A\x08'")

0 commit comments

Comments
 (0)
0