ENH: 1 more sleep_4_poll to guarantee difference in time stamp

pull/8/merge
Yaroslav Halchenko 2012-07-19 23:07:08 -04:00
parent e9964846fa
commit 337f3f6f7b
1 changed files with 1 additions and 0 deletions

View File

@ -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)