diff options
| author | Steven Knight <knight@baldmt.com> | 2010-04-07 13:16:57 (GMT) |
|---|---|---|
| committer | Steven Knight <knight@baldmt.com> | 2010-04-07 13:16:57 (GMT) |
| commit | 32d7c315d62846ea8febadcbb2c60cf9e3382cbf (patch) | |
| tree | 4d16f888d6f0de67d3dba1341b768df17d852b44 /src/engine/SCons/BuilderTests.py | |
| parent | d63f3f799b9e015d4a77e5874fa4cc0c4efc511f (diff) | |
| download | SCons-32d7c315d62846ea8febadcbb2c60cf9e3382cbf.zip SCons-32d7c315d62846ea8febadcbb2c60cf9e3382cbf.tar.gz SCons-32d7c315d62846ea8febadcbb2c60cf9e3382cbf.tar.bz2 | |
Issue 2332: Convert from using StringIO.StringIO class to using the
forward-compatible io.StringIO class, with the addition of an "io"
compatibility module for Python versions before 2.6.
Diffstat (limited to 'src/engine/SCons/BuilderTests.py')
| -rw-r--r-- | src/engine/SCons/BuilderTests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SCons/BuilderTests.py b/src/engine/SCons/BuilderTests.py index e4ddaec..de6d2be 100644 --- a/src/engine/SCons/BuilderTests.py +++ b/src/engine/SCons/BuilderTests.py @@ -32,10 +32,10 @@ import SCons.compat def Func(): pass +import io import os.path import re import sys -import StringIO import unittest import UserList @@ -48,7 +48,7 @@ import SCons.Errors import SCons.Subst import SCons.Util -sys.stdout = StringIO.StringIO() +sys.stdout = io.StringIO() # Initial setup of the common environment for all tests, # a temporary working directory containing a |
