Changes in tests/pybin/tools.py [76de075:8e516fd]
- File:
-
- 1 edited
-
tests/pybin/tools.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tests/pybin/tools.py
r76de075 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.