summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul McGuire <ptmcg@austin.rr.com>2019-07-08 20:58:51 -0500
committerPaul McGuire <ptmcg@austin.rr.com>2019-07-08 20:58:51 -0500
commit3c64e6ed43e8f5f435836cc91983ef1eb65b83c2 (patch)
tree817353a96e6693b67ed7586cbed0cd33bfbdfee5
parentd5b06c46cb87c0491bf7a2c02ebdfe7aac0bbdd5 (diff)
downloadpyparsing-git-3c64e6ed43e8f5f435836cc91983ef1eb65b83c2.tar.gz
sys.write does not take keyword args
-rw-r--r--unitTests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/unitTests.py b/unitTests.py
index 53fc554..252cdd6 100644
--- a/unitTests.py
+++ b/unitTests.py
@@ -30,9 +30,9 @@ if PY_3:
else:
def _print(*args, **kwargs):
if 'end' in kwargs:
- sys.stdout.write(' '.join(map(str,args)) + kwargs['end'], flush=True)
+ sys.stdout.write(' '.join(map(str,args)) + kwargs['end'])
else:
- sys.stdout.write(' '.join(map(str,args)) + '\n', flush=True)
+ sys.stdout.write(' '.join(map(str,args)) + '\n')
print_ = _print
from cStringIO import StringIO