summaryrefslogtreecommitdiff
path: root/slixmpp/test
diff options
context:
space:
mode:
Diffstat (limited to 'slixmpp/test')
-rw-r--r--slixmpp/test/integration.py2
-rw-r--r--slixmpp/test/slixtest.py2
2 files changed, 1 insertions, 3 deletions
diff --git a/slixmpp/test/integration.py b/slixmpp/test/integration.py
index e8093107..fe33fa57 100644
--- a/slixmpp/test/integration.py
+++ b/slixmpp/test/integration.py
@@ -11,7 +11,7 @@ except ImportError:
# Python < 3.8
# just to make sure the imports do not break, but
# not usable.
- from unittest import TestCase as IsolatedAsyncioTestCase
+ from unittest import TestCase as IsolatedAsyncioTestCase # type: ignore
from typing import (
Dict,
List,
diff --git a/slixmpp/test/slixtest.py b/slixmpp/test/slixtest.py
index 7c700fd2..0d05a4ac 100644
--- a/slixmpp/test/slixtest.py
+++ b/slixmpp/test/slixtest.py
@@ -17,9 +17,7 @@ from slixmpp.xmlstream.matcher import StanzaPath, MatcherId, MatchIDSender
from slixmpp.xmlstream.matcher import MatchXMLMask, MatchXPath
import asyncio
-cls = asyncio.get_event_loop().__class__
-cls.idle_call = lambda self, callback: callback()
class SlixTest(unittest.TestCase):