fix python lint issues

This commit is contained in:
holger krekel
2019-07-18 15:11:57 +02:00
parent 7a4808ba0d
commit 7b7ce9348f

View File

@@ -1,6 +1,5 @@
from __future__ import print_function
import pytest
from deltachat import capi, Account, const, set_context_callback, clear_context_callback
from deltachat import capi, const, set_context_callback, clear_context_callback
from deltachat.capi import ffi
from deltachat.capi import lib
from deltachat.account import EventLogger
@@ -24,6 +23,7 @@ def test_dc_close_events():
evlog.set_timeout(5)
set_context_callback(ctx, lambda ctx, evt_name, data1, data2: evlog(evt_name, data1, data2))
capi.lib.dc_close(ctx)
def find(info_string):
while 1:
ev = evlog.get_matching("DC_EVENT_INFO", check_error=False)