''' @author: olivier.massot, 2019 ''' class TestStream(): def write(self, s): print(str(s).strip()) def flush(self): pass