diff tests/test_diff.py @ 1342:c6b01fd34694 stable

trying to fix progress output
author Augie Fackler <raf@durin42.com>
date Wed, 08 Jul 2015 19:45:04 -0400
parents d741f536f23a
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)