Renamed "bin" arguments to "proto". Note that this test currently
fails, for reasons unrelated to this patch.
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 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 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 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)