summaryrefslogtreecommitdiffstats
path: root/Lib/test/pickletester.py
diff options
context:
space:
mode:
authorAlexandre Vassalotti <alexandre@peadrop.com>2013-12-01 01:43:42 (GMT)
committerAlexandre Vassalotti <alexandre@peadrop.com>2013-12-01 01:43:42 (GMT)
commitdf9460f8dcbbe802614350c37a4a478148841c14 (patch)
tree71ac60080ddd9e1df5c25f04f811d1ea42925b6e /Lib/test/pickletester.py
parentc6df622c4cc9be85764ab55e9e0ac230fe487efb (diff)
downloadcpython-df9460f8dcbbe802614350c37a4a478148841c14.zip
cpython-df9460f8dcbbe802614350c37a4a478148841c14.tar.gz
cpython-df9460f8dcbbe802614350c37a4a478148841c14.tar.bz2
Issue #6477: Revert fbb97f6eb3b3 as it broke test_xpickle.
Diffstat (limited to 'Lib/test/pickletester.py')
-rw-r--r--Lib/test/pickletester.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/Lib/test/pickletester.py b/Lib/test/pickletester.py
index d7b68db..1599893 100644
--- a/Lib/test/pickletester.py
+++ b/Lib/test/pickletester.py
@@ -661,15 +661,6 @@ class AbstractPickleTests(unittest.TestCase):
u = self.loads(s)
self.assertEqual(t, u)
- def test_singleton_types(self):
- # Issue #6477: Test that types of built-in singletons can be pickled.
- singletons = [None, Ellipsis, NotImplemented]
- for singleton in singletons:
- for proto in protocols:
- s = self.dumps(type(singleton), proto)
- u = self.loads(s)
- self.assertIs(type(singleton), u)
-
# Tests for protocol 2
def test_proto(self):