We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1ac8d1 commit 861e6abCopy full SHA for 861e6ab
1 file changed
tests/integration/synapseclient/models/async/test_download_list_async.py
@@ -509,8 +509,11 @@ async def test_download_files_default_location(
509
# THEN the manifest is written under the CWD
510
abs_manifest = os.path.abspath(manifest_path)
511
assert os.path.exists(abs_manifest)
512
- assert abs_manifest.startswith(
513
- tmpdir
+ # Normalize both paths with realpath — on macOS /var is a
+ # symlink to /private/var, so tmpdir and the resolved manifest
514
+ # path can differ even when the manifest is under tmpdir.
515
+ assert os.path.realpath(abs_manifest).startswith(
516
+ os.path.realpath(tmpdir)
517
), f"Expected manifest under {tmpdir}, got {abs_manifest}"
518
519
with open(manifest_path, newline="") as f:
0 commit comments