We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4859dd6 commit 3ed12dfCopy full SHA for 3ed12df
1 file changed
tests/test_run.py
@@ -1,13 +1,12 @@
1
import qasync
2
import asyncio
3
4
-def test_run_with_contextmanager():
+def test_run_with_contextmanager(application):
5
async def coro():
6
event_loop = asyncio.get_event_loop()
7
assert type(event_loop).__name__ == "QSelectorEventLoop"
8
await asyncio.sleep(0)
9
10
- app = QApplication([])
11
qasync.run(coro())
12
13
0 commit comments