From: <gha...@us...> - 2006-06-02 14:27:08
|
Update of /cvsroot/pypgsql/pypgsql/test In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11348/test Modified Files: PgSQLTestCases.py Log Message: 02JUN2006 gh Adjusted test suite to patch #882032. Index: PgSQLTestCases.py =================================================================== RCS file: /cvsroot/pypgsql/pypgsql/test/PgSQLTestCases.py,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** PgSQLTestCases.py 1 Jun 2006 13:40:36 -0000 1.28 --- PgSQLTestCases.py 2 Jun 2006 14:27:03 -0000 1.29 *************** *** 33,36 **** --- 33,37 ---- # Date Ini Description | # --------- --- ------------------------------------------------------- | + # 02JUN2006 gh Adjusted test suite to patch #882032. | # 01JUN2006 gh Slimmed down tests to make them work with recent Python | # and PostgreSQL releases. | *************** *** 572,576 **** try: self.cur.callproc("version") ! v = string.split(self.cur.fetchone()[0])[1] self.cur.close() vstr = "%(major)d.%(minor)d" % self.cnx.version --- 573,577 ---- try: self.cur.callproc("version") ! v = string.split(self.cur.fetchone()[0])[1].split("-")[0] self.cur.close() vstr = "%(major)d.%(minor)d" % self.cnx.version |