]> git.ipfire.org Git - thirdparty/psycopg.git/commit
test: improve wait functions tests
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Sun, 14 Sep 2025 15:46:34 +0000 (17:46 +0200)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Mon, 13 Oct 2025 01:25:16 +0000 (03:25 +0200)
commitc02bad23ced12dbe1a7819a0607b5acab48e1af4
tree7c7680c5a8a1588393065c9484c2168814573ffa
parent79c52af6ce5360a773469a47da86cebb0cafbf3e
test: improve wait functions tests

Check for consistent behaviour and expected result. The test currently
pass on the Python module and highlight shortcoming in the C function.

Complete wait async test, generate sync version automatically.

See #1141
tests/test_waiting.py
tests/test_waiting_async.py [new file with mode: 0644]
tools/async_to_sync.py