Simplify some SPI tests of PL/Python

Michael Paquier <michael@paquier.xyz>

Commit: db80507d98462d95f2f7f8c1a58e55bb6337c3eb
Author: Michael Paquier <michael@paquier.xyz>
Date: 2024-11-25T00:43:16Z
Releases: 18.0
Simplify some SPI tests of PL/Python

These tests relied on both next() and __next__(), but only the former is
needed since Python 2 support has been removed, so let's simplify a bit
the tests.

Author: Erik Wienhold
Discussion: https://postgr.es/m/173209043143.2092749.13692266486972491694@wrigleys.postgresql.org

Files

Discussion