From e8a0b3882d7c2c79b411269f2c0471ac64359558 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 16 Feb 2024 16:33:18 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- tests/test_unit/test_validation.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/test_unit/test_validation.py b/tests/test_unit/test_validation.py index 3670a21..e376121 100644 --- a/tests/test_unit/test_validation.py +++ b/tests/test_unit/test_validation.py @@ -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) @@ -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"\[.*?\]",