Mercurial > hg > mercurial-source
changeset 34752:cefad71d1a45
tests: update test-notify to pass our import checker
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Tue, 22 Aug 2017 16:58:47 -0400 |
parents | 06a740540ea1 |
children | a65f928e47d5 |
files | tests/test-notify.t |
diffstat | 1 files changed, 3 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-notify.t +++ b/tests/test-notify.t @@ -1,6 +1,7 @@ $ cat > $TESTTMP/filter.py <<EOF - > from __future__ import print_function - > import sys, re + > from __future__ import absolute_import, print_function + > import re + > import sys > print(re.sub("\n[ \t]", " ", sys.stdin.read()), end="") > EOF