summaryrefslogtreecommitdiffstats
path: root/Lib/test/pickletester.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2003-01-28 04:20:02 (GMT)
committerGuido van Rossum <guido@python.org>2003-01-28 04:20:02 (GMT)
commit025bc2fe6c1d71505b95b6351795cba7724fd45f (patch)
tree685300f735fee528b077b1efd5fd1de523d40568 /Lib/test/pickletester.py
parent44f0ea5f73a6579172ccb661fff3cca47fa4005b (diff)
downloadcpython-025bc2fe6c1d71505b95b6351795cba7724fd45f.zip
cpython-025bc2fe6c1d71505b95b6351795cba7724fd45f.tar.gz
cpython-025bc2fe6c1d71505b95b6351795cba7724fd45f.tar.bz2
Shouldn't test short tuples with all items equal -- one potential bug
would be that the tuple is reversed on unpickling, and we should catch that. :-) Goodnight -- that's it for toniht!
Diffstat (limited to 'Lib/test/pickletester.py')
-rw-r--r--Lib/test/pickletester.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/pickletester.py b/Lib/test/pickletester.py
index e37a7b0..50e9aa4 100644
--- a/Lib/test/pickletester.py
+++ b/Lib/test/pickletester.py
@@ -283,10 +283,10 @@ class AbstractPickleTests(unittest.TestCase):
def test_short_tuples(self):
a = ()
- b = (12,)
- c = (6, 6)
- d = (4, 4, 4)
- e = (3, 3, 3, 3)
+ b = (1,)
+ c = (1, 2)
+ d = (1, 2, 3)
+ e = (1, 2, 3, 4)
for proto in 0, 1, 2:
for x in a, b, c, d, e:
s = self.dumps(x, proto)