Package: datalad-next / 1.5.0-1

Metadata

Package Version Patches format
datalad-next 1.5.0-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
py313 test tree with broken symlinks.patch | (download)

datalad_next/commands/tests/test_tree.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 test: fix test_tree_with_broken_symlinks on python 3.13

https://docs.python.org/3/library/pathlib.html#pathlib.Path.resolve
says:

  _Changed in version 3.13:_ Symlink loops are treated like other
  errors: `OSError` is raised in strict mode, and no exception is raised
  in non-strict mode. In previous versions, `RuntimeError` is raised no
  matter the value of _strict_.

Adjust a test to take account of this.