Skip to content

Commit bcc3a2c

Browse files
committed
[test/lit.cfg] Use absolute imports
This fixes an issue when using Docker on OSX, 'import shutil' in 'lit.cfg' ends up finding lit.ShUtil instead of the module from the standard library. Switching to absolute imports ensures that the module from the standard library will be used.
1 parent c0275b8 commit bcc3a2c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/lit.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
#
1919
# -----------------------------------------------------------------------------
2020

21+
from __future__ import absolute_import
2122
import os
2223
import platform
2324
import re

0 commit comments

Comments
 (0)