Commits

JanKanis committed 9ffb4a7 Draft

add a test for the Event.__repr__ bug

  • Participants
  • Parent commits 1a36f10

Comments (0)

Files changed (1)

   assert [e.fullpath for e in evts] == ['testfile3']
   assert all(e.mask & inotify.IN_OPEN for e in evts)
 
+
+def test_repr(w):
+  w.add_all('.', inotify.IN_ALL_EVENTS)
+  print(w.read(0))