summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/unit/utils.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unit/utils.py b/tests/unit/utils.py
index d04583f..c05146e 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)