瀏覽代碼

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