Changeset 8e516fd
- Timestamp:
- Aug 11, 2020, 5:30:54 PM (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:
- 7874d77
- Parents:
- 129674b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/pybin/tools.py
r129674b r8e516fd 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.