Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rrzaripov committed Mar 25, 2019
1 parent ac6c87c commit e0b2ecc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_emitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ def test_renaming_top_level_directory():
start_watching()
open(p('a2', 'b', 'c'), 'a').close()

event = event_queue.get(timeout=5)
event = event_queue.get(timeout=5)[0]
print(event)
assert event.src_path == p('a2', 'b', 'c')
assert isinstance(event, FileCreatedEvent)

0 comments on commit e0b2ecc

Please sign in to comment.