diff --git a/tests/unit/utils.py b/tests/unit/utils.py index d04583ff..c05146ec 100644 --- a/tests/unit/utils.py +++ b/tests/unit/utils.py @@ -494,6 +494,9 @@ class CaptureOutput(object): def __eq__(self, other): return self.out == other + def __ne__(self, other): + return not self.__eq__(other) + def __getattr__(self, name): return getattr(self.out, name)