Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

flush output to fix tests in py3k

  • Loading branch information...
commit 006c6cde86d967a8ec597b230d309213db7b56dd 1 parent 7282483
@oscarbenjamin authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  tests/multicommands.py
View
2  tests/multicommands.py
@@ -81,10 +81,12 @@ def __init__(self, verbose=False, quiet=False):
def write(self, *messages):
for m in messages:
sys.stdout.write(m)
+ sys.stdout.flush()
def warn(self, *messages):
for m in messages:
sys.stderr.write(m)
+ sys.stderr.flush()
info = lambda self, *m: not self.quiet and self.write(*m)
note = lambda self, *m: self.verbose and self.write(*m)
Please sign in to comment.
Something went wrong with that request. Please try again.