We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4dd6c7 commit 17bf084Copy full SHA for 17bf084
tests/integrations/asyncpg/test_asyncpg.py
@@ -10,7 +10,6 @@
10
"""
11
12
import os
13
-import threading
14
import datetime
15
from contextlib import contextmanager
16
from unittest import mock
@@ -35,8 +34,7 @@
35
34
36
def _get_db_name():
37
pid = os.getpid()
38
- thread_id = threading.get_ident()
39
- return f"{PG_NAME_BASE}_{pid}_{thread_id}"
+ return f"{PG_NAME_BASE}_{pid}"
40
41
42
PG_NAME = _get_db_name()
0 commit comments