summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsmiddlek <smiddlek@b1010a0a-674b-0410-b734-77272b80c875>2012-05-01 21:27:35 +0000
committersmiddlek <smiddlek@b1010a0a-674b-0410-b734-77272b80c875>2012-05-01 21:27:35 +0000
commit4b5f8e08a18b21d9488d4061abeebaabcc62ad08 (patch)
tree3938f020ab35bcfbe5dbda7a8f04963837534a96
parentf2b16354e6fd07044d86149fb2f2e7f321574c65 (diff)
downloadmox-4b5f8e08a18b21d9488d4061abeebaabcc62ad08.tar.gz
Patch for Issue 42 (Allow MoxMetaTestBase to be used with other metaclasses).
Thanks dbronner@google.com git-svn-id: http://pymox.googlecode.com/svn/trunk@73 b1010a0a-674b-0410-b734-77272b80c875
-rwxr-xr-xmox.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mox.py b/mox.py
index 9c919c9..482acd0 100755
--- a/mox.py
+++ b/mox.py
@@ -2054,6 +2054,7 @@ class MoxMetaTestBase(type):
"""
def __init__(cls, name, bases, d):
+ super(MoxMetaTestBase, cls).__init__(name, bases, d)
type.__init__(cls, name, bases, d)
# also get all the attributes from the base classes to account