From a7927edaef71f560d88205989655288fd8b3d23c Mon Sep 17 00:00:00 2001 From: Andi Albrecht Date: Thu, 9 Dec 2010 05:55:12 +0100 Subject: Fix a Py3K regression. --- tests/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/utils.py b/tests/utils.py index a78b460..6135dc3 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -28,7 +28,7 @@ class TestCaseBase(unittest.TestCase): # Adopted from Python's tests. def ndiffAssertEqual(self, first, second): """Like failUnlessEqual except use ndiff for readable output.""" - if first <> second: + if first != second: sfirst = unicode(first) ssecond = unicode(second) diff = difflib.ndiff(sfirst.splitlines(), ssecond.splitlines()) -- cgit v1.2.1