From 4f348ca5522608b62cc6eacadba26c9ea57ed590 Mon Sep 17 00:00:00 2001 From: Pieter Eendebak Date: Thu, 28 Mar 2024 21:57:31 +0100 Subject: [PATCH] lint --- numpy/lib/tests/test_stride_tricks.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/numpy/lib/tests/test_stride_tricks.py b/numpy/lib/tests/test_stride_tricks.py index cfd5379b0249..49d9fa42b21f 100644 --- a/numpy/lib/tests/test_stride_tricks.py +++ b/numpy/lib/tests/test_stride_tricks.py @@ -578,8 +578,8 @@ def test_writeable(): # but the result of broadcast_arrays needs to be writeable, to # preserve backwards compatibility - for is_broadcast, results in [( (False, ), broadcast_arrays(original,)), - ( (True, False), broadcast_arrays(0, original))]: + for is_broadcast, results in [((False,), broadcast_arrays(original,)), + ((True, False), broadcast_arrays(0, original))]: for array_is_broadcast, result in zip(is_broadcast, results): # This will change to False in a future version if array_is_broadcast: @@ -623,8 +623,8 @@ def test_writeable_memoryview(): # See gh-13929. original = np.array([1, 2, 3]) - for is_broadcast, results in [( (False, ), broadcast_arrays(original,)), - ( (True, False), broadcast_arrays(0, original))]: + for is_broadcast, results in [((False, ), broadcast_arrays(original,)), + ((True, False), broadcast_arrays(0, original))]: for array_is_broadcast, result in zip(is_broadcast, results): # This will change to False in a future version if array_is_broadcast: