# HG changeset patch # User Matt Harbison # Date 1492392316 14400 # Node ID 08e46fcb863723ccbd2145a4c7a9332d691a1af6 # Parent acc67cd7f508c5f90eed1f1d281e5019f0f63787 badserverext: explicitly flush each log write No idea why, but without this, there was no content in the error logs that are `cat`d in the test on Windows. diff -r acc67cd7f508 -r 08e46fcb8637 tests/badserverext.py --- a/tests/badserverext.py Sun Apr 16 21:00:22 2017 -0400 +++ b/tests/badserverext.py Sun Apr 16 21:25:16 2017 -0400 @@ -111,6 +111,7 @@ object.__getattribute__(self, '_logfp').write(msg) object.__getattribute__(self, '_logfp').write('\n') + object.__getattribute__(self, '_logfp').flush() def read(self, size=-1): remaining = object.__getattribute__(self, '_closeafterrecvbytes')