summaryrefslogtreecommitdiff
path: root/test_six.py
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
commit308ce9921583f694640236d4a1e67e5c4da2c7b1 (patch)
tree51e021768763d73249b8cba8eb60ea40bb569709 /test_six.py
parent31592e361a4142841706d9a2905e190472dc5002 (diff)
downloadsix-git-308ce9921583f694640236d4a1e67e5c4da2c7b1.tar.gz
Test to ensure that with_metaclass() does not insert any intermediary bases
Diffstat (limited to 'test_six.py')
-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():