Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 16, 2024
1 parent 8c9b5a1 commit e8a0b38
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/test_unit/test_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def test_validate_mesh_structure_pairs_no_obj(atlas):

with pytest.raises(
AssertionError,
#match=r"Structures with IDs \[.*?\] are in the atlas, but don't have a corresponding mesh file.",
# match=r"Structures with IDs \[.*?\] are in the atlas, but don't have a corresponding mesh file.",
match=r"\[.*?\]",
):
validate_mesh_structure_pairs(atlas)
Expand All @@ -106,8 +106,7 @@ def test_validate_mesh_structure_pairs_not_in_atlas(atlas):

with pytest.raises(
AssertionError,
#match=r"Structures with IDs \[.*?\] have a mesh file, but are not accessible through the atlas.",

# match=r"Structures with IDs \[.*?\] have a mesh file, but are not accessible through the atlas.",
# Only checks if there's anything in the []. If there isn't --> error
# It runs without an error with "allen_mouse_10um" as it fills the []
match=r"\[.*?\]",
Expand Down

0 comments on commit e8a0b38

Please sign in to comment.