Revision: 184
http://informixdb.svn.sourceforge.net/informixdb/?rev=184&view=rev
Author: chaese
Date: 2008-09-26 04:57:59 +0000 (Fri, 26 Sep 2008)
Log Message:
-----------
The Binary() constructor needs a byte string.
All unit tests pass now, but note that the unit tests only cover very few
features. This is still very much a work in progress.
Modified Paths:
--------------
branches/informixdb-py3k/tests/dbapi20.py
Modified: branches/informixdb-py3k/tests/dbapi20.py
===================================================================
--- branches/informixdb-py3k/tests/dbapi20.py 2008-09-26 04:50:13 UTC (rev 183)
+++ branches/informixdb-py3k/tests/dbapi20.py 2008-09-26 04:57:59 UTC (rev 184)
@@ -851,8 +851,8 @@
# self.assertEqual(str(t1),str(t2))
def test_Binary(self):
- b = self.driver.Binary('Something')
- b = self.driver.Binary('')
+ b = self.driver.Binary(b'Something')
+ b = self.driver.Binary(b'')
def test_STRING(self):
self.failUnless(hasattr(self.driver,'STRING'),
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|