Changeset 4fe6224 for tests/pybin/tools.py
- Timestamp:
- Aug 15, 2020, 12:03:20 AM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- ef9988b
- Parents:
- 74807be (diff), fb0ae06 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/pybin/tools.py
r74807be r4fe6224 246 246 # transform path to canonical form 247 247 def canonical_path(path): 248 abspath = os.path.abspath( __main__.__file__)248 abspath = os.path.abspath(os.path.realpath(__main__.__file__)) 249 249 dname = os.path.dirname(abspath) 250 250 return os.path.join(dname, os.path.normpath(path) )
Note: See TracChangeset
for help on using the changeset viewer.