Bugs item #1187803, was opened at 2005-04-22 11:45
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=116528&aid=1187803&group_id=16528
Category: PgSQL
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Tim Wegener (twegener)
Assigned to: Nobody/Anonymous (nobody)
Summary: 2 regression tests fail on Fedora Core 3 (python 2.3.4)
Initial Comment:
Here are the system setup details:
Fedora Core 3 Linux (i386/i686)
$ rpm -q postgresql
postgresql-7.4.7-3.FC3.1
$ rpm -q python
python-2.3.4-13.1
$ rpm -q pyPgSQL # Home built RPM using spec from tarball
pyPgSQL-2.4-FC3_py2.3
Here is the output generated by 'PgSQLTestCases.py':
$ python PgSQLTestCases.py
.................../usr/lib/python2.3/site-packages/pyPgSQL/PgSQL.py:2644:
FutureWarning: %u/%o/%x/%X of negative int will return
a signed string in Python 2.4 and up
name = "PgSQL_%08X" % id(self)
.....................F.F.......................
======================================================================
FAIL: CheckDoMoreResultObjectChecks
(__main__.PgSQLTestCases)
----------------------------------------------------------------------
Traceback (most recent call last):
File "PgSQLTestCases.py", line 817, in
CheckDoMoreResultObjectChecks
self.fail(msg)
File "/usr/lib/python2.3/unittest.py", line 270, in fail
raise self.failureException, msg
AssertionError: '7.4'
======================================================================
FAIL: Test execute() with a singleton string as the
parameter.
----------------------------------------------------------------------
Traceback (most recent call last):
File "PgSQLTestCases.py", line 639, in
CheckExecuteWithSingleton
"Length of cur.description is %d, it should be %d." %
File "/usr/lib/python2.3/unittest.py", line 302, in
failUnlessEqual
raise self.failureException, AssertionError: Length of cur.description is 11, it
should be 4.
----------------------------------------------------------------------
Ran 66 tests in 0.740s
FAILED (failures=2)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=116528&aid=1187803&group_id=16528
|