# HG changeset patch # User Augie Fackler # Date 2017-08-22 19:49:20 # Node ID 0d0cec9602c381f4d5aea6627c31f4dc62b481a7 # Parent 4f86c9647d236fbe3e72e968fca943ab8d2c206b tests: update test-chg to pass our import checker diff --git a/tests/test-chg.t b/tests/test-chg.t --- a/tests/test-chg.t +++ b/tests/test-chg.t @@ -115,7 +115,9 @@ chg waits for pager if runcommand raises > EOF $ cat > $TESTTMP/fakepager.py < import sys, time + > from __future__ import absolute_import + > import sys + > import time > for line in iter(sys.stdin.readline, ''): > if 'crash' in line: # only interested in lines containing 'crash' > # if chg exits when pager is sleeping (incorrectly), the output