Mercurial > hg
comparison tests/run-tests.py @ 18061:0e4316c3a703
run-tests: fix whitespace nonsense
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Wed, 12 Dec 2012 15:17:18 -0800 |
parents | d2e97d86e4db |
children | 77d06793a20d |
comparison
equal
deleted
inserted
replaced
18060:d2e97d86e4db | 18061:0e4316c3a703 |
---|---|
364 else: | 364 else: |
365 exename = 'python' | 365 exename = 'python' |
366 if sys.platform == 'win32': | 366 if sys.platform == 'win32': |
367 exename = 'python.exe' | 367 exename = 'python.exe' |
368 if getattr(os, 'symlink', None): | 368 if getattr(os, 'symlink', None): |
369 vlog("# Making python executable in test path a symlink to '%s'" % | 369 vlog("# Making python executable in test path a symlink to '%s'" % |
370 sys.executable) | 370 sys.executable) |
371 mypython = os.path.join(BINDIR, exename) | 371 mypython = os.path.join(BINDIR, exename) |
372 try: | 372 try: |
373 os.symlink(sys.executable, mypython) | 373 os.symlink(sys.executable, mypython) |
374 except OSError, err: | 374 except OSError, err: |