]> git.ipfire.org Git - thirdparty/psycopg.git/commit
refactor(tests): auto-generate the test_cursor module from async_test_cursor
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>
Mon, 7 Aug 2023 09:11:24 +0000 (10:11 +0100)
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>
Wed, 11 Oct 2023 21:45:38 +0000 (23:45 +0200)
commitfac75e476c054447b25b44fa2894bee00a2c6a5b
tree876b3337eda758318db8f9d785e06c7e83f2fcae
parent765f663f171bf5d5e4862d5c4a5d572b7e3227d8
refactor(tests): auto-generate the test_cursor module from async_test_cursor

Use a script to translate an async module to sync. The module is to be
extended to cover the entire test suite and then possibly the rest of
the code.
tests/test_cursor.py
tools/async_to_sync.py [new file with mode: 0755]
tools/convert_async_to_sync.sh [new file with mode: 0755]