Skip to content

Commit 66eb458

Browse files
committed
Remove unneeded async function designation
1 parent bd253bf commit 66eb458

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/test_init.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ async def load_testdata(
8989
content = await testdata_file.read()
9090
return json.loads(content)
9191

92-
async def setup_app(
92+
def setup_app(
9393
self,
9494
broken=False,
9595
timeout=False,
@@ -132,7 +132,7 @@ async def setup_app(
132132

133133
return app
134134

135-
async def setup_legacy_app(
135+
def setup_legacy_app(
136136
self,
137137
broken=False,
138138
timeout=False,
@@ -290,7 +290,7 @@ async def connect(
290290
)
291291

292292
# Happy flow
293-
app = await self.setup_app(broken, timeout, raise_timeout, fail_auth, stretch)
293+
app = self.setup_app(broken, timeout, raise_timeout, fail_auth, stretch)
294294

295295
server = aiohttp.test_utils.TestServer(
296296
app, port=port, scheme="http", host="127.0.0.1"
@@ -374,7 +374,7 @@ async def connect_legacy(
374374
)
375375

376376
# Happy flow
377-
app = await self.setup_legacy_app(
377+
app = self.setup_legacy_app(
378378
broken, timeout, raise_timeout, fail_auth, stretch
379379
)
380380

0 commit comments

Comments
 (0)