Skip to content

Commit 3a109ab

Browse files
committed
Cleanup
1 parent a48d77e commit 3a109ab

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

test/asynchronous/test_auth_oidc.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
import os
1919
import sys
20-
import threading
2120
import time
2221
import unittest
2322
import warnings
@@ -799,7 +798,7 @@ async def test_1_2_callback_is_called_once_for_multiple_connections(self):
799798
client = await self.create_client()
800799
await client.aconnect()
801800

802-
# Start 10 threads and run 100 find operations in each thread that all succeed.
801+
# Start 10 tasks and run 100 find operations that all succeed in each task.
803802
async def target():
804803
for _ in range(100):
805804
await client.test.test.find_one()

test/test_auth_oidc.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
import os
1919
import sys
20-
import threading
2120
import time
2221
import unittest
2322
import warnings
@@ -797,7 +796,7 @@ def test_1_2_callback_is_called_once_for_multiple_connections(self):
797796
client = self.create_client()
798797
client._connect()
799798

800-
# Start 10 threads and run 100 find operations in each thread that all succeed.
799+
# Start 10 tasks and run 100 find operations that all succeed in each task.
801800
def target():
802801
for _ in range(100):
803802
client.test.test.find_one()

0 commit comments

Comments
 (0)