diff options
author | Tim Peters <tim.peters@gmail.com> | 2003-01-28 22:26:28 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2003-01-28 22:26:28 (GMT) |
commit | dcaa24e5035d04fe8f8c27c977da97b0f6d60a1f (patch) | |
tree | c06cc5c4a6dd3ac90cf37a2321660f8690cbc32b /Lib/test/test_cpickle.py | |
parent | c23e0192c942698b1caaf06e0635145f8778b3db (diff) | |
download | cpython-dcaa24e5035d04fe8f8c27c977da97b0f6d60a1f.zip cpython-dcaa24e5035d04fe8f8c27c977da97b0f6d60a1f.tar.gz cpython-dcaa24e5035d04fe8f8c27c977da97b0f6d60a1f.tar.bz2 |
Renamed "bin" arguments to "proto". Note that this test currently
fails, for reasons unrelated to this patch.
Diffstat (limited to 'Lib/test/test_cpickle.py')
-rw-r--r-- | Lib/test/test_cpickle.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Lib/test/test_cpickle.py b/Lib/test/test_cpickle.py index 0c34cda..f1700d6 100644 --- a/Lib/test/test_cpickle.py +++ b/Lib/test/test_cpickle.py @@ -15,9 +15,9 @@ class cPickleTests(AbstractPickleTests, AbstractPickleModuleTests): class cPicklePicklerTests(AbstractPickleTests): - def dumps(self, arg, bin=0): + def dumps(self, arg, proto=0): f = StringIO() - p = cPickle.Pickler(f, bin) + p = cPickle.Pickler(f, proto) p.dump(arg) f.seek(0) return f.read() @@ -31,8 +31,8 @@ class cPicklePicklerTests(AbstractPickleTests): class cPickleListPicklerTests(AbstractPickleTests): - def dumps(self, arg, bin=0): - p = cPickle.Pickler(bin) + def dumps(self, arg, proto=0): + p = cPickle.Pickler(proto) p.dump(arg) return p.getvalue() @@ -45,9 +45,9 @@ class cPickleListPicklerTests(AbstractPickleTests): class cPickleFastPicklerTests(AbstractPickleTests): - def dumps(self, arg, bin=0): + def dumps(self, arg, proto=0): f = StringIO() - p = cPickle.Pickler(f, bin) + p = cPickle.Pickler(f, proto) p.fast = 1 p.dump(arg) f.seek(0) |