summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pickletools.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-11-15 12:01:08 (GMT)
committerGitHub <noreply@github.com>2017-11-15 12:01:08 (GMT)
commit6545256df93ba54f811206107274cfa5a6d76b86 (patch)
treea1f5d782ddb4518b5ebe4039037ca26971b8b54e /Lib/test/test_pickletools.py
parent2ae4ad7ca49f2b80a02cbf7ea76d52c615bfedb3 (diff)
downloadcpython-6545256df93ba54f811206107274cfa5a6d76b86.zip
cpython-6545256df93ba54f811206107274cfa5a6d76b86.tar.gz
cpython-6545256df93ba54f811206107274cfa5a6d76b86.tar.bz2
bpo-32032: Test both implementations of module-level pickle API. (#4401)
Diffstat (limited to 'Lib/test/test_pickletools.py')
-rw-r--r--Lib/test/test_pickletools.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_pickletools.py b/Lib/test/test_pickletools.py
index 86bebfa..b3cab0e 100644
--- a/Lib/test/test_pickletools.py
+++ b/Lib/test/test_pickletools.py
@@ -2,10 +2,9 @@ import pickle
import pickletools
from test import support
from test.pickletester import AbstractPickleTests
-from test.pickletester import AbstractPickleModuleTests
import unittest
-class OptimizedPickleTests(AbstractPickleTests, AbstractPickleModuleTests):
+class OptimizedPickleTests(AbstractPickleTests):
def dumps(self, arg, proto=None):
return pickletools.optimize(pickle.dumps(arg, proto))