diff --git a/datalad_next/commands/tests/test_tree.py b/datalad_next/commands/tests/test_tree.py index 0b3b2158..262c858e 100644 --- a/datalad_next/commands/tests/test_tree.py +++ b/datalad_next/commands/tests/test_tree.py @@ -786,7 +786,7 @@ def test_tree_with_broken_symlinks(self, tmp_path, include_files): link_to_self.symlink_to(link_to_self) with assert_raises((RuntimeError, OSError)): # OSError on Windows # resolution should fail because of infinite loop - link_to_self.resolve() + link_to_self.resolve(strict=True) # 3. good symlink pointing to existing directory link_to_dir1 = tmp_path / 'links' / '3_link_to_dir1'