diff options
author | Guido van Rossum <guido@python.org> | 2007-07-20 00:22:32 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2007-07-20 00:22:32 +0000 |
commit | 923a9ca2240f6d2494de81c50a351352125abe3c (patch) | |
tree | 1b8568d8de77f5596f59630668ebaa4fbb381aa8 /Lib/test/test_exceptions.py | |
parent | 5a11bdcf7b75b0267cf8a7b67a1fd436ee4a7ddb (diff) | |
download | cpython-923a9ca2240f6d2494de81c50a351352125abe3c.tar.gz |
Getting rid of cPickle. Mmm, feels good!
Diffstat (limited to 'Lib/test/test_exceptions.py')
-rw-r--r-- | Lib/test/test_exceptions.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Lib/test/test_exceptions.py b/Lib/test/test_exceptions.py index 56a990d649..0988098f57 100644 --- a/Lib/test/test_exceptions.py +++ b/Lib/test/test_exceptions.py @@ -4,10 +4,6 @@ import os import sys import unittest import pickle -try: - import cPickle -except ImportError: - cPickle = None from test.test_support import (TESTFN, unlink, run_unittest, guard_warnings_filter) @@ -299,9 +295,7 @@ class ExceptionTests(unittest.TestCase): value, expected[checkArgName])) # test for pickling support - for p in pickle, cPickle: - if p is None: - continue # cPickle not found -- skip it + for p in [pickle]: for protocol in range(p.HIGHEST_PROTOCOL + 1): s = p.dumps(e, protocol) new = p.loads(s) |