Browse Source

ENH: 1 more sleep_4_poll to guarantee difference in time stamp

pull/8/merge
Yaroslav Halchenko 13 years ago
parent
commit
337f3f6f7b
  1. 1
      testcases/filtertestcase.py

1
testcases/filtertestcase.py

@ -213,6 +213,7 @@ class LogFileMonitor(unittest.TestCase):
# but not any longer
self.assertTrue(self.notModified())
self.assertTrue(self.notModified())
_sleep_4_poll() # to guarantee freshier mtime
for i in range(4): # few changes
# unless we write into it
self.file.write("line%d\n" % i)

Loading…
Cancel
Save