summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Davis <bendavsi78@gmail.com>2014-04-26 20:23:13 -0500
committerBen Davis <bendavsi78@gmail.com>2014-04-26 20:23:13 -0500
commitc09c8f008e60cfa3df123c483fc13d088ce8df5a (patch)
tree51e021768763d73249b8cba8eb60ea40bb569709
parent1d38c96b575efb415961a991124525cdad3ef569 (diff)
downloadsix-c09c8f008e60cfa3df123c483fc13d088ce8df5a.tar.gz
Test to ensure that with_metaclass() does not insert any intermediary bases
-rw-r--r--test_six.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test_six.py b/test_six.py
index 9e39444..766da9e 100644
--- a/test_six.py
+++ b/test_six.py
@@ -634,6 +634,7 @@ def test_with_metaclass():
assert type(X) is Meta
assert issubclass(X, Base)
assert issubclass(X, Base2)
+ assert X.__mro__ == (X, Base, Base2, object)
def test_add_metaclass():