Skip to content

Commit 10c00db

Browse files
committed
Normalize mocked runtime path
1 parent a07af55 commit 10c00db

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/test_release_guard.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import importlib.util
66
import io
77
import json
8-
import os
98
import subprocess
109
import tarfile
1110
import tempfile
@@ -125,7 +124,7 @@ def probe(
125124
"demo-dependency": "2.0",
126125
}
127126
return {
128-
"python": os.path.abspath(runtime_python),
127+
"python": str(release_guard._absolute_path(runtime_python)),
129128
"prefix": str(runtime_dirs[0].parent.resolve()),
130129
"imports": imports,
131130
"versions": {name: versions[name] for name in distributions},

0 commit comments

Comments
 (0)