[pypy-svn] r69408 - pypy/trunk/pypy/module/oracle/test

afa at codespeak.net afa at codespeak.net
Thu Nov 19 09:02:38 CET 2009


Author: afa
Date: Thu Nov 19 09:02:37 2009
New Revision: 69408

Modified:
   pypy/trunk/pypy/module/oracle/test/test_select.py
Log:
Nowadays integer columns are correcly recognised and fetched as int values


Modified: pypy/trunk/pypy/module/oracle/test/test_select.py
==============================================================================
--- pypy/trunk/pypy/module/oracle/test/test_select.py	(original)
+++ pypy/trunk/pypy/module/oracle/test/test_select.py	Thu Nov 19 09:02:37 2009
@@ -6,7 +6,7 @@
         cur = self.cnx.cursor()
         cur.execute("select 42, 'Hello' from dual")
         row = cur.fetchone()
-        assert isinstance(row[0], float)
+        assert isinstance(row[0], int)
         assert isinstance(row[1], str)
         assert row == (42, 'Hello')
 



More information about the Pypy-commit mailing list