Update of /cvsroot/pypgsql/pypgsql/test
In directory sc8-pr-cvs1:/tmp/cvs-serv30734/test
Modified Files:
PgSQLTestCases.py
Log Message:
06OCT2004 bga [Bug #816729] Updated tests for PostgreSQL 7.4(beta).
Thanks to Jeff Putnam for the fixes.
Index: PgSQLTestCases.py
===================================================================
RCS file: /cvsroot/pypgsql/pypgsql/test/PgSQLTestCases.py,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** PgSQLTestCases.py 1 Dec 2002 04:59:25 -0000 1.25
--- PgSQLTestCases.py 6 Oct 2003 18:36:56 -0000 1.26
***************
*** 33,36 ****
--- 33,38 ----
# Date Ini Description |
# --------- --- ------------------------------------------------------- |
+ # 06OCT2004 bga [Bug #816729] Updated tests for PostgreSQL 7.4(beta). |
+ # Thanks to Jeff Putnam for the fixes. |
# 30NOV2002 bga Updated tests for PostgreSQL 7.3. |
# 10NOV2002 bga Added an additional PgNumeric class check. |
***************
*** 616,620 ****
"""Test execute() with a singleton string as the parameter."""
! if self.vstr.startswith("7.3"):
flen = 11
elif self.vstr.startswith("7.2"):
--- 618,624 ----
"""Test execute() with a singleton string as the parameter."""
! if self.vstr.startswith("7.4"):
! flen = 11
! elif self.vstr.startswith("7.3"):
flen = 11
elif self.vstr.startswith("7.2"):
***************
*** 799,803 ****
# Note: We only have to check for the minor version number in order
# to determine the needed row counts.
! rc = { '7.3':124, '7.2':101, '7.1':80, '7.0':65, '6.5':47 }
v = self.vstr
--- 803,807 ----
# Note: We only have to check for the minor version number in order
# to determine the needed row counts.
! rc = { '7.4':137, '7.3':124, '7.2':101, '7.1':80, '7.0':65, '6.5':47 }
v = self.vstr
|