diff options
| author | Steven Knight <knight@baldmt.com> | 2010-04-07 15:29:39 (GMT) |
|---|---|---|
| committer | Steven Knight <knight@baldmt.com> | 2010-04-07 15:29:39 (GMT) |
| commit | ca29ee5e30d4d4ad60d51f95e4ac61eee7e5cd42 (patch) | |
| tree | eb60dd8251a7fd064aa255309df2056dbf49a258 /src/engine/SCons/DefaultsTests.py | |
| parent | 32d7c315d62846ea8febadcbb2c60cf9e3382cbf (diff) | |
| download | SCons-ca29ee5e30d4d4ad60d51f95e4ac61eee7e5cd42.zip SCons-ca29ee5e30d4d4ad60d51f95e4ac61eee7e5cd42.tar.gz SCons-ca29ee5e30d4d4ad60d51f95e4ac61eee7e5cd42.tar.bz2 | |
Issue 2334: Use compatibility versions of collections.User{Dict,List,String}
instead of the deprecated User{Dict,List,String} modules. The two test
scripts that use User{List,String} fall back on ImportError by hand.
Diffstat (limited to 'src/engine/SCons/DefaultsTests.py')
| -rw-r--r-- | src/engine/SCons/DefaultsTests.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/engine/SCons/DefaultsTests.py b/src/engine/SCons/DefaultsTests.py index 99cb120..96d5de7 100644 --- a/src/engine/SCons/DefaultsTests.py +++ b/src/engine/SCons/DefaultsTests.py @@ -23,13 +23,15 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" +import SCons.compat + import os import os.path import StringIO import sys import unittest -from UserDict import UserDict +from collections import UserDict import TestCmd |
