X-Git-Url: http://git.tremily.us/?a=blobdiff_plain;f=test%2FDeprecated%2FOptions%2FPackageOption.py;fp=test%2FDeprecated%2FOptions%2FPackageOption.py;h=b9f0400e2652157fa43af012a1000b7a73e2bd32;hb=11e8e47454040247b5524a7d00358eb767e7c3c0;hp=bb396539a15e169cd7bdefd3ed2d0e2cbdc157eb;hpb=2f2b02e12600ea18721083366a1e414a3a80c444;p=scons.git diff --git a/test/Deprecated/Options/PackageOption.py b/test/Deprecated/Options/PackageOption.py index bb396539..b9f0400e 100644 --- a/test/Deprecated/Options/PackageOption.py +++ b/test/Deprecated/Options/PackageOption.py @@ -29,7 +29,6 @@ Test the PackageOption canned Option type. """ import os.path -import string try: True, False @@ -44,7 +43,7 @@ test = TestSCons.TestSCons(match = TestSCons.match_re_dotall) SConstruct_path = test.workpath('SConstruct') def check(expect): - result = string.split(test.stdout(), '\n') + result = test.stdout().split('\n') assert result[1:len(expect)+1] == expect, (result[1:len(expect)+1], expect)