HomePhabricator

test-extension: flush diagnostic message to stabilize chg output

Authored by yuja.

Description

test-extension: flush diagnostic message to stabilize chg output

Since chg server may create new file object for the attached stdout,
procutil.stdout is not ui.fout and the buffered procutil.stdout data wouldn't
be flushed at all. That's why test-extension.t passes without modification
on Python 2.

Details

Committed
yujaDec 7 2020, 6:12 AM
Parents
rHG1f0ed7e63c2a: formatting: re-blacken match.py
Branches
Unknown
Tags
Unknown