summaryrefslogtreecommitdiff
path: root/ttystatus/status_tests.py
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2010-07-07 09:27:00 +1200
committerLars Wirzenius <liw@liw.fi>2010-07-07 09:27:00 +1200
commit129e223f07e7d090655da2bfdaa6262cfa399f2e (patch)
tree46d0b1f315e225eebf52a49649d50aa7bf90723d /ttystatus/status_tests.py
parentdc830c6e3bdaa9f2caf766a541a33767c14eacc3 (diff)
downloadpython-ttystatus-129e223f07e7d090655da2bfdaa6262cfa399f2e.tar.gz
Don't attempt to write until it is time.
Diffstat (limited to 'ttystatus/status_tests.py')
-rw-r--r--ttystatus/status_tests.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ttystatus/status_tests.py b/ttystatus/status_tests.py
index 36bc4bd..d22db53 100644
--- a/ttystatus/status_tests.py
+++ b/ttystatus/status_tests.py
@@ -25,6 +25,9 @@ class DummyMessager(object):
def clear(self):
pass
+
+ def time_to_write(self):
+ return True
def write(self, string):
pass