Browse Source

pylint: disable irrelevant duplicate code warning in tests

Fabian Peter Hammerle 1 year ago
parent
commit
3ed507d415
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/ashs_test.py

+ 1 - 1
tests/ashs_test.py

@@ -256,7 +256,7 @@ def test_hippocampal_subfields_volume_file_init(volume_file_path, expected_attrs
     ],
 )
 def test_hippocampal_subfields_volume_file_init_invalid(volume_file_path):
-    with pytest.raises(Exception):
+    with pytest.raises(Exception):  # pylint: disable=duplicate-code; freesurfer tests
         HippocampalSubfieldsVolumeFile(path=volume_file_path)