oauth: Support Python 3.6 in tests
authorJacob Champion <[email protected]>
Wed, 23 Apr 2025 18:16:45 +0000 (11:16 -0700)
committerJacob Champion <[email protected]>
Wed, 23 Apr 2025 18:16:45 +0000 (11:16 -0700)
commit005ccae0f2d68ad3d44141a748635f3dd4a46c1f
treecb137cbab28516baeb37ffa8658d5d146a022d43
parentbb78e4267817b5c1f5a8ff5b0b93fe756e514bb0
oauth: Support Python 3.6 in tests

RHEL8 ships a patched 3.6.8 as its base Python version, and I
accidentally let some newer Python-isms creep into oauth_server.py
during development.

Reported-by: Tom Lane <[email protected]>
Reviewed-by: Jelte Fennema-Nio <[email protected]>
Tested-by: Renan Alves Fonseca <[email protected]>
Tested-by: Tom Lane <[email protected]>
Discussion: https://postgr.es/m/16098.1745079444%40sss.pgh.pa.us
src/test/modules/oauth_validator/t/oauth_server.py