[telepathy-gabble/master] clarify assertNotEquals() error message

Dafydd Harries dafydd.harries at collabora.co.uk
Mon Sep 14 09:58:42 PDT 2009


---
 tests/twisted/servicetest.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/twisted/servicetest.py b/tests/twisted/servicetest.py
index e176532..280479f 100644
--- a/tests/twisted/servicetest.py
+++ b/tests/twisted/servicetest.py
@@ -419,7 +419,7 @@ def assertEquals(expected, value):
 def assertNotEquals(expected, value):
     if expected == value:
         raise AssertionError(
-            "expected:\n%s;\ngot:\n%s" % (pretty(expected), pretty(value)))
+            "expected something other than:\n%s" % pretty(value)
 
 def assertContains(element, value):
     if element not in value:
-- 
1.5.6.5




More information about the telepathy-commits mailing list