# HG changeset patch # User Yuya Nishihara # Date 1459680527 -32400 # Node ID 21a507f9a6cd71bd0f662c9473d065c2e67dadbe # Parent 0023a6e1328f8e29a3cb9f3eff5f9b2cb5dc96e7 tests: alias ui as uimod in test-ancestor diff -r 0023a6e1328f -r 21a507f9a6cd tests/test-ancestor.py --- a/tests/test-ancestor.py Sun Apr 03 20:11:41 2016 +0900 +++ b/tests/test-ancestor.py Sun Apr 03 19:48:47 2016 +0900 @@ -13,7 +13,7 @@ ancestor, commands, hg, - ui, + ui as uimod, util, ) @@ -218,7 +218,7 @@ '+3*3/*2*2/*4*4/*4/2*4/2*2', ] def test_gca(): - u = ui.ui() + u = uimod.ui() for i, dag in enumerate(dagtests): repo = hg.repository(u, 'gca%d' % i, create=1) cl = repo.changelog