##// END OF EJS Templates
tests: update test-chg to pass our import checker
Augie Fackler -
r33951:0d0cec96 default
parent child Browse files
Show More
@@ -115,7 +115,9 b' chg waits for pager if runcommand raises'
115 > EOF
115 > EOF
116
116
117 $ cat > $TESTTMP/fakepager.py <<EOF
117 $ cat > $TESTTMP/fakepager.py <<EOF
118 > import sys, time
118 > from __future__ import absolute_import
119 > import sys
120 > import time
119 > for line in iter(sys.stdin.readline, ''):
121 > for line in iter(sys.stdin.readline, ''):
120 > if 'crash' in line: # only interested in lines containing 'crash'
122 > if 'crash' in line: # only interested in lines containing 'crash'
121 > # if chg exits when pager is sleeping (incorrectly), the output
123 > # if chg exits when pager is sleeping (incorrectly), the output
General Comments 0
You need to be logged in to leave comments. Login now