Skip to content

Commit

Permalink
chore: update CoordinatesRegistry tests
Browse files Browse the repository at this point in the history
  • Loading branch information
synchon committed Dec 16, 2024
1 parent 9b68006 commit 29c40f9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions junifer/data/coordinates/tests/test_coordinates.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ def test_register_built_in_check() -> None:
coordinates=np.zeros(2),
voi_names=["1", "2"],
space="MNI",
overwrite=True,
)


Expand All @@ -32,14 +31,14 @@ def test_register_overwrite() -> None:
coordinates=np.zeros((2, 3)),
voi_names=["roi1", "roi2"],
space="MNI",
overwrite=True,
)
with pytest.raises(ValueError, match=r"already registered"):
CoordinatesRegistry().register(
name="MyList",
coordinates=np.ones((2, 3)),
voi_names=["roi2", "roi3"],
space="MNI",
overwrite=False,
)

CoordinatesRegistry().register(
Expand Down

0 comments on commit 29c40f9

Please sign in to comment.