summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Albrecht <albrecht.andi@gmail.com>2010-12-09 05:55:12 +0100
committerAndi Albrecht <albrecht.andi@gmail.com>2010-12-09 05:55:12 +0100
commita7927edaef71f560d88205989655288fd8b3d23c (patch)
treedc21a7d8a57083456a6f1b0b25a392cf2a8fc6e2
parent6d95a5080e2c51bc759456f9a78991a81a272fe2 (diff)
downloadsqlparse-a7927edaef71f560d88205989655288fd8b3d23c.tar.gz
Fix a Py3K regression.
-rw-r--r--extras/py3k/Makefile2
-rw-r--r--tests/utils.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/extras/py3k/Makefile b/extras/py3k/Makefile
index 0f5f4b6..499f2bf 100644
--- a/extras/py3k/Makefile
+++ b/extras/py3k/Makefile
@@ -1,4 +1,4 @@
-2TO3=2to3
+2TO3=2to3-3.1
all: sqlparse 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())