Skip to content

Commit 5fecc6d

Browse files
authored
Merge pull request #173 from P-EB/patch-2
test_watcher: fix a failing test
2 parents 0eb41b4 + 012e27f commit 5fecc6d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

tests/test_watcher.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ def test_watch_file(self):
5353

5454
def add_count():
5555
watcher.count += 1
56+
57+
add_count.repr_str = "add_count test task"
5658

5759
watcher.watch(filepath, add_count)
5860
assert watcher.is_changed(filepath)

0 commit comments

Comments
 (0)