[pypy-svn] r10040 - pypy/dist/lib-python-2.3.4/test

tismer at codespeak.net tismer at codespeak.net
Tue Mar 22 00:15:00 CET 2005


Author: tismer
Date: Tue Mar 22 00:14:59 2005
New Revision: 10040

Modified:
   pypy/dist/lib-python-2.3.4/test/pickletester.py
Log:
sorry, reverted my forbidden change to libpython

Modified: pypy/dist/lib-python-2.3.4/test/pickletester.py
==============================================================================
--- pypy/dist/lib-python-2.3.4/test/pickletester.py	(original)
+++ pypy/dist/lib-python-2.3.4/test/pickletester.py	Tue Mar 22 00:14:59 2005
@@ -1,9 +1,3 @@
-# Notes about changes in this file:
-# a prefix of "dont_" means the test makes no sense,
-# because we don't use cPickle at all.
-# "xxx_" means it works and can be done, but takes ages.
-# When PyPy gets really fast, we should remove "xxx_".
-
 import unittest
 import pickle
 import cPickle
@@ -519,7 +513,7 @@
         data = 'I' + str(maxint64) + 'JUNK\n.'
         self.assertRaises(ValueError, self.loads, data)
 
-    def xxx_test_long(self):
+    def test_long(self):
         for proto in protocols:
             # 256 bytes is where LONG4 begins.
             for nbits in 1, 8, 8*254, 8*255, 8*256, 8*257:
@@ -744,7 +738,7 @@
         self.produce_global_ext(0x7fffffff, pickle.EXT4)  # largest EXT4 code
         self.produce_global_ext(0x12abcdef, pickle.EXT4)  # check endianness
 
-    def xxx_test_list_chunking(self):
+    def test_list_chunking(self):
         n = 10  # too small to chunk
         x = range(n)
         for proto in protocols:
@@ -766,7 +760,7 @@
             else:
                 self.failUnless(num_appends >= 2)
 
-    def xxx_test_dict_chunking(self):
+    def test_dict_chunking(self):
         n = 10  # too small to chunk
         x = dict.fromkeys(range(n))
         for proto in protocols:



More information about the Pypy-commit mailing list