Skip to content

Commit 7faa929

Browse files
committed
style: fix line length violations in test file
1 parent 78073f8 commit 7faa929

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

autotest/test_geospatial_index.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,10 @@ def test_query_equivalence_vertex(triangular_vertex_grid):
408408
y = np.array([25.0, 50.0, 75.0])
409409

410410
cellids_vector = index.query_points(x, y)
411-
cellids_single = np.array([index.query_point(x[i], y[i]) for i in range(len(x))], dtype=float)
411+
cellids_single = np.array(
412+
[index.query_point(x[i], y[i]) for i in range(len(x))],
413+
dtype=float,
414+
)
412415

413416
np.testing.assert_array_equal(cellids_vector, cellids_single)
414417

@@ -421,7 +424,10 @@ def test_query_equivalence_unstructured(triangular_unstructured_grid):
421424
y = np.array([25.0, 50.0, 75.0])
422425

423426
cellids_vector = index.query_points(x, y)
424-
cellids_single = np.array([index.query_point(x[i], y[i]) for i in range(len(x))], dtype=float)
427+
cellids_single = np.array(
428+
[index.query_point(x[i], y[i]) for i in range(len(x))],
429+
dtype=float,
430+
)
425431

426432
np.testing.assert_array_equal(cellids_vector, cellids_single)
427433

0 commit comments

Comments
 (0)