Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
eendebakpt committed Mar 28, 2024
1 parent 2c55d06 commit 79a215c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions numpy/lib/tests/test_stride_tricks.py
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 79a215c

Please sign in to comment.