summaryrefslogtreecommitdiff
path: root/tests/utils.py
diff options
context:
space:
mode:
authorAndi Albrecht <albrecht.andi@gmail.com>2011-07-29 21:19:04 +0200
committerAndi Albrecht <albrecht.andi@gmail.com>2011-07-29 21:19:04 +0200
commit0058f06ba2309b3d7851e6509f70bf533258795c (patch)
tree0361f7b63d7faf44988d19e3c3fd1324106f7035 /tests/utils.py
parentd83aaa24369e9a4b5531ffb90379c02a52025544 (diff)
downloadsqlparse-0058f06ba2309b3d7851e6509f70bf533258795c.tar.gz
Minor fixes to make the py3k version work again.
Diffstat (limited to 'tests/utils.py')
-rw-r--r--tests/utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/utils.py b/tests/utils.py
index 6135dc3..e2c01a3 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -33,6 +33,7 @@ class TestCaseBase(unittest.TestCase):
ssecond = unicode(second)
diff = difflib.ndiff(sfirst.splitlines(), ssecond.splitlines())
fp = StringIO()
- print >> fp, NL, NL.join(diff)
+ fp.write(NL)
+ fp.write(NL.join(diff))
print fp.getvalue()
raise self.failureException, fp.getvalue()