diff options
author | Steven Knight <knight@baldmt.com> | 2010-04-14 23:32:50 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2010-04-14 23:32:50 (GMT) |
commit | 12ec17eedc70ee82421b27ff7dd84e947d4e6953 (patch) | |
tree | f2db14c37192443ef414a0975da0baed78d338cb /test | |
parent | 67f389b0e130d59d7e125243355f5f58a932a2ec (diff) | |
download | SCons-12ec17eedc70ee82421b27ff7dd84e947d4e6953.zip SCons-12ec17eedc70ee82421b27ff7dd84e947d4e6953.tar.gz SCons-12ec17eedc70ee82421b27ff7dd84e947d4e6953.tar.bz2 |
Eliminate / replace remaining cPickle references in test scripts.
Diffstat (limited to 'test')
-rw-r--r-- | test/sconsign/corrupt.py | 1 | ||||
-rw-r--r-- | test/sconsign/nonwritable.py | 6 |
2 files changed, 3 insertions, 4 deletions
diff --git a/test/sconsign/corrupt.py b/test/sconsign/corrupt.py index 94c4608..cab4d75 100644 --- a/test/sconsign/corrupt.py +++ b/test/sconsign/corrupt.py @@ -30,7 +30,6 @@ Test that we get proper warnings when .sconsign* files are corrupt. import TestSCons import TestCmd -import cPickle test = TestSCons.TestSCons(match = TestCmd.match_re) diff --git a/test/sconsign/nonwritable.py b/test/sconsign/nonwritable.py index f571782..913dcf1 100644 --- a/test/sconsign/nonwritable.py +++ b/test/sconsign/nonwritable.py @@ -31,7 +31,7 @@ Test that things still work when a .sconsign* file is not writable. import os import TestSCons import TestCmd -import cPickle +import pickle test = TestSCons.TestSCons(match = TestCmd.match_re) @@ -92,8 +92,8 @@ test.write(['work2', 'SConstruct'], SConstruct_contents) test.write(['work2', 'foo.in'], "work2/foo.in\n") -cPickle.dump({}, open(work2_sub1__sconsign, 'wb'), 1) -cPickle.dump({}, open(work2_sub2__sconsign, 'wb'), 1) +pickle.dump({}, open(work2_sub1__sconsign, 'wb'), 1) +pickle.dump({}, open(work2_sub2__sconsign, 'wb'), 1) os.chmod(work2_sub1__sconsign, 0444) |