diff options
author | smiddlek <smiddlek@b1010a0a-674b-0410-b734-77272b80c875> | 2012-05-01 21:27:35 +0000 |
---|---|---|
committer | smiddlek <smiddlek@b1010a0a-674b-0410-b734-77272b80c875> | 2012-05-01 21:27:35 +0000 |
commit | 4b5f8e08a18b21d9488d4061abeebaabcc62ad08 (patch) | |
tree | 3938f020ab35bcfbe5dbda7a8f04963837534a96 | |
parent | f2b16354e6fd07044d86149fb2f2e7f321574c65 (diff) | |
download | mox-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-x | mox.py | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |