# HG changeset patch # User Pierre-Yves David # Date 1669960179 -3600 # Node ID a804242050c488278d93663c3f654f5a7b3cb8ae # Parent 8c6f783917e78efeb3cdcc04d21baa2eb32b0732 path: pass `path` to `peer` in remotefilelog's tests We directly use the `path` object to build the `peer` object. diff -r 8c6f783917e7 -r a804242050c4 tests/remotefilelog-getflogheads.py --- a/tests/remotefilelog-getflogheads.py Fri Dec 02 06:48:17 2022 +0100 +++ b/tests/remotefilelog-getflogheads.py Fri Dec 02 06:49:39 2022 +0100 @@ -19,7 +19,7 @@ Used for testing purpose """ - dest = urlutil.get_unique_pull_path(b'getflogheads', repo, ui)[0] + dest = urlutil.get_unique_pull_path_obj(b'getflogheads', ui) peer = hg.peer(repo, {}, dest) try: