ソースを参照

Fix failing tests on Python 3.8

Signed-off-by: Stan Janssen <stan.janssen@elaad.nl>
Stan Janssen 3 年 前
コミット
619507fbaa
1 ファイル変更1 行追加0 行削除
  1. 1 0
      test/test_reports.py

+ 1 - 0
test/test_reports.py

@@ -565,6 +565,7 @@ async def test_different_on_register_report_handlers(caplog):
     await server.run()
     await client.create_party_registration()
     assert client.ven_id == 'ven123'
+    caplog.clear()
 
     await client.register_reports(client.reports)
     assert len(client.report_requests) == 0