Commit d195f25a authored by Stefan Behnel's avatar Stefan Behnel

fix test runner in Py2.4

parent 65ab952e
...@@ -56,6 +56,8 @@ except ImportError: ...@@ -56,6 +56,8 @@ except ImportError:
return self._dict[key] return self._dict[key]
def __setitem__(self, key, value): def __setitem__(self, key, value):
self._dict[key] = value self._dict[key] = value
def __contains__(self, key):
return key in self._dict
def __repr__(self): def __repr__(self):
return repr(self._dict) return repr(self._dict)
def __nonzero__(self): def __nonzero__(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment