Skip to content

Commit deb13ef

Browse files
committed
git Merge remote-tracking branch 'refs/remotes/origin/assertion_for_unique_positions' into assertion_for_unique_positions
2 parents d8c77aa + ff340c4 commit deb13ef

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tests/test_probe.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ def test_save_to_zarr(tmp_path):
185185
def test_position_uniqueness():
186186
"""Test that the error message matches the full expected string for three duplicates using pytest's match regex."""
187187
import re
188+
188189
positions_with_dups = np.array([[0, 0], [10, 10], [0, 0], [20, 20], [0, 0], [10, 10]])
189190
probe = Probe(ndim=2, si_units="um")
190191
expected_error = (

tests/test_probegroup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def test_probegroup_allows_duplicate_positions_across_probes():
7272
from probeinterface import ProbeGroup, Probe
7373
import numpy as np
7474

75-
# Probes have the same internal relative positions
75+
# Probes have the same internal relative positions
7676
positions = np.array([[0, 0], [10, 10]])
7777
probe1 = Probe(ndim=2, si_units="um")
7878
probe1.set_contacts(positions=positions, shapes="circle", shape_params={"radius": 5})

0 commit comments

Comments
 (0)