diff options
Diffstat (limited to 'testsuite/driver/testutil.py')
-rw-r--r-- | testsuite/driver/testutil.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/testsuite/driver/testutil.py b/testsuite/driver/testutil.py index a5b20dfa97..34d78cda99 100644 --- a/testsuite/driver/testutil.py +++ b/testsuite/driver/testutil.py @@ -98,7 +98,10 @@ def symlinks_work() -> bool: except OSError as e: print('Saw {} during symlink test; assuming symlinks do not work.'.format(e)) finally: - os.unlink('__symlink-test') + try: + os.unlink('__symlink-test') + except: + pass return works else: |