diff --git a/datalad/distributed/tests/test_drop.py b/datalad/distributed/tests/test_drop.py index 8f6d0254b2..a74d45ab09 100644 --- a/datalad/distributed/tests/test_drop.py +++ b/datalad/distributed/tests/test_drop.py @@ -419,9 +419,7 @@ def test_safetynet(otherpath=None, origpath=None, clonepath=None): res = cloneds.drop(what='all', on_failure='ignore') assert_in_results(res, action="drop", status="error") - ok_(res[0]['message'].startswith( - "unsafe\nCould only verify the existence of " - "0 out of 1 necessary"), + ok_(res[0]['message'].startswith("unsafe\nCould"), msg=f"Results were {res}") ok_(cloneds.is_installed())