diff --git a/python/tests/test_lowlevel.py b/python/tests/test_lowlevel.py index 94aa471dc..7bb7e77cf 100644 --- a/python/tests/test_lowlevel.py +++ b/python/tests/test_lowlevel.py @@ -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)