summaryrefslogtreecommitdiff
path: root/src/pl/plpython/sql/plpython_params.sql
Commit message (Collapse)AuthorAgeFilesLines
* plpython: Remove regression test infrastructure for Python 2.Andres Freund2022-03-071-4/+4
| | | | | | | | | | Since 19252e8ec93 we reject Python 2 during build configuration. Now that the dust on the buildfarm has settled, remove regression testing infrastructure dealing with differing output between Python 2 / 3. Reviewed-By: Peter Eisentraut <peter@eisentraut.org> Reviewed-By: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/20211031184548.g4sxfe47n2kyi55r@alap3.anarazel.de
* Modernize Python exception syntax in testsPeter Eisentraut2020-01-081-1/+1
| | | | | | | | | | | | | | | | | Change the exception syntax used in the tests to use the more current except Exception as ex: rather than the old except Exception, ex: Since support for Python <2.6 has been removed, all supported versions now support the new style, and we can save one step in the Python 3 compatibility conversion. Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://www.postgresql.org/message-id/flat/98b69261-298c-13d2-f34d-836fd9c29b21%402ndquadrant.com
* PL/Python: Adjust the regression tests for Python 3.3Peter Eisentraut2012-05-111-1/+8
| | | | | | | | | The string representation of ImportError changed. Remove printing that; it's not necessary for the test. The order in which members of a dict are printed changed. But this was always implementation-dependent, so we have just been lucky for a long time. Do the printing the hard way to ensure sorted order.
* Augment test coverage in PL/Python, especially for error conditions.Peter Eisentraut2009-08-131-0/+1
|
* Split the plpython regression test into test cases arranged by topic, insteadPeter Eisentraut2009-08-121-0/+34
of the previous monolithic setup-create-run sequence, that was apparently inherited from a previous test infrastructure, but makes working with the tests and adding new ones weird.