From: Benjamin Peterson <benjamin@python.org>
Date: Mon, 17 Jan 2011 19:54:55 +0000 (+0000)
Subject: remove unneeded assertion
X-Git-Tag: v3.2rc2~134
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=37b9e46a04452274b31db71d75b141af0b48997e;p=python

remove unneeded assertion
---

diff --git a/Objects/typeobject.c b/Objects/typeobject.c
index 03d9134d69..db7828a2fc 100644
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -2946,7 +2946,6 @@ same_slots_added(PyTypeObject *a, PyTypeObject *b)
     PyObject *slots_a, *slots_b;
 
     assert(base == b->tp_base);
-    assert(!equiv_structs(a, base) && !equiv_structs(b, base));
     size = base->tp_basicsize;
     if (a->tp_dictoffset == size && b->tp_dictoffset == size)
         size += sizeof(PyObject *);