summaryrefslogtreecommitdiffstats
path: root/Lib/test/pickletester.py
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-11-06 16:50:32 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2011-11-06 16:50:32 (GMT)
commit030aa35a1b5dc9a91b44abeda80d32df8a8d8952 (patch)
treeab998de2005210ecb580d8433f61fe2772eda264 /Lib/test/pickletester.py
parentb22c3fe5d8a81636b41503f035da03b1f1174570 (diff)
downloadcpython-030aa35a1b5dc9a91b44abeda80d32df8a8d8952.zip
cpython-030aa35a1b5dc9a91b44abeda80d32df8a8d8952.tar.gz
cpython-030aa35a1b5dc9a91b44abeda80d32df8a8d8952.tar.bz2
Silence a couple of warnings.
Diffstat (limited to 'Lib/test/pickletester.py')
-rw-r--r--Lib/test/pickletester.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/pickletester.py b/Lib/test/pickletester.py
index 2e3875c..c321f8e 100644
--- a/Lib/test/pickletester.py
+++ b/Lib/test/pickletester.py
@@ -132,6 +132,8 @@ class pickling_metaclass(type):
def __reduce__(self):
return (create_dynamic_class, self.reduce_args)
+ __hash__ = None
+
def create_dynamic_class(name, bases):
result = pickling_metaclass(name, bases, dict())
result.reduce_args = (name, bases)