Eliminate / replace remaining cPickle references in test scripts.
authorstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Wed, 14 Apr 2010 23:32:50 +0000 (23:32 +0000)
committerstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Wed, 14 Apr 2010 23:32:50 +0000 (23:32 +0000)
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4784 fdb21ef1-2011-0410-befe-b5e4ea1792b1

test/sconsign/corrupt.py
test/sconsign/nonwritable.py

index 94c4608c58baa2942391531dbc397ea3cd78ffbc..cab4d7554865e3acba74120367749543f99d91d5 100644 (file)
@@ -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)
 
index f5717822bd01066f63f3d7e6de41551e511e02e0..913dcf1674c6e7b65d73303b5c1dbbef8e9c8f72 100644 (file)
@@ -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)