]> git.ipfire.org Git - thirdparty/psycopg.git/commit
Declare type variable for Counter in pool tests
authorDenis Laxalde <denis.laxalde@dalibo.com>
Tue, 2 Nov 2021 12:40:59 +0000 (13:40 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 3 Nov 2021 15:55:14 +0000 (16:55 +0100)
commit8bfb7a0bb46dca436201855b8907a83a3279f02c
tree574d4a48d1687ac51c39fff437d6248db950c02f
parent6a434c60ea4f889b2746e10605b097b445155cc0
Declare type variable for Counter in pool tests

We use the comment-style for type annotation because collections.Counter
is generic only since Python 3.9.
tests/pool/test_pool.py
tests/pool/test_pool_async.py