diff tests/test_diff.py @ 1346:538bbb927609

Merge with stable.
author Augie Fackler <raf@durin42.com>
date Tue, 11 Aug 2015 17:07:59 -0400
parents c6b01fd34694
children
line wrap: on
line diff
--- a/tests/test_diff.py
+++ b/tests/test_diff.py
@@ -31,7 +31,7 @@ class DiffTests(test_util.TestBase):
         self.commitchanges([('foo', 'foo', 'This is missing a newline.'),
                             ('alpha', 'alpha', 'alpha\n\nadded line\n'),
                             ])
-        u = ui.ui()
+        u = test_util.testui()
         u.pushbuffer()
         wrappers.diff(lambda x, y, z: None, u, self.repo, svn=True)
         self.assertEqual(u.popbuffer(), expected_diff_output)