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.
--- 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')