Skip to content

Commit 3ed12df

Browse files
authored
Update test_run.py
1 parent 4859dd6 commit 3ed12df

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/test_run.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
import qasync
22
import asyncio
33

4-
def test_run_with_contextmanager():
4+
def test_run_with_contextmanager(application):
55
async def coro():
66
event_loop = asyncio.get_event_loop()
77
assert type(event_loop).__name__ == "QSelectorEventLoop"
88
await asyncio.sleep(0)
99

10-
app = QApplication([])
1110
qasync.run(coro())
1211

1312
event_loop = asyncio.get_event_loop()

0 commit comments

Comments
 (0)