diff options
-rw-r--r-- | test/Win32/bad-drive.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Win32/bad-drive.py b/test/Win32/bad-drive.py index 67a287a..5e8e66a 100644 --- a/test/Win32/bad-drive.py +++ b/test/Win32/bad-drive.py @@ -33,7 +33,7 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" import os import sys -from string import uppercase +from string import ascii_uppercase import TestSCons @@ -44,8 +44,8 @@ if sys.platform != 'win32': test.skip_test(msg) bad_drive = None -for i in range(len(uppercase)-1, -1, -1): - d = uppercase[i] +for i in range(len(ascii_uppercase)-1, -1, -1): + d = ascii_uppercase[i] if not os.path.isdir(d + ':' + os.sep): bad_drive = d + ':' break |