Commit fe2b4a0
committed
Fix slow_watch_mock in test_watch_timeout_on_establishment
slow_watch_mock returns nothing, but Watcher._run expects a Watch
object returns an iterable. This causes "TypeError: 'NoneType' object
is not iterable" mentioned in
kragniz#1959 (comment)
This commit modifies slow_watch_mock so that it returns an empty list
to avoid the type error.1 parent 49fa440 commit fe2b4a0
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
378 | 378 | | |
379 | 379 | | |
380 | 380 | | |
| 381 | + | |
381 | 382 | | |
382 | 383 | | |
383 | 384 | | |
| |||
0 commit comments