should fix sporadic coverage decrease (don't cover "return", because too sporadic to get idle in pyinotify-callback);

pull/2019/merge
sebres 2018-01-11 20:23:22 +01:00
parent 7516cd025d
commit b644d2d73f
1 changed files with 1 additions and 1 deletions

View File

@ -123,7 +123,7 @@ class FilterPyinotify(FileFilter):
self._addPending(path, event)
return
# do nothing if idle:
if self.idle:
if self.idle: # pragma: no cover (too sporadic to get idle in callback)
return
# be sure we process a file:
if not isWF: