From 373baece5094b5bedf10e08ea95d09be3619fd23 Mon Sep 17 00:00:00 2001 From: Trygve Aaberge Date: Sat, 20 Mar 2021 13:41:02 +0100 Subject: Format all python files with black --- _pytest/test_eventrouter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '_pytest/test_eventrouter.py') diff --git a/_pytest/test_eventrouter.py b/_pytest/test_eventrouter.py index de267c1..5420d5a 100644 --- a/_pytest/test_eventrouter.py +++ b/_pytest/test_eventrouter.py @@ -13,7 +13,7 @@ def test_EventRouter(mock_weechat): # Handling an event removes from the queue. e = EventRouter() # Create a function to test we are called - e.proc['testfunc'] = lambda json, eventrouter, team, channel, metadata: json + e.proc["testfunc"] = lambda json, eventrouter, team, channel, metadata: json e.receive({"type": "testfunc"}) e.handle_next() assert len(e.queue) == 0 @@ -21,7 +21,7 @@ def test_EventRouter(mock_weechat): # Handling a local event removes from the queue. e = EventRouter() # Create a function to test we are called - e.proc['local_testfunc'] = lambda json, eventrouter, team, channel, metadata: json + e.proc["local_testfunc"] = lambda json, eventrouter, team, channel, metadata: json e.receive({"type": "local_testfunc"}) e.handle_next() assert len(e.queue) == 0 -- cgit