Update of /usr/cvs/Public/pygresql/module
In directory druid.net:/tmp/cvs-serv3693

Modified Files:
        TEST_PyGreSQL_dbapi20.py 
Log Message:
Inconsistent use of lower and upper case SQL keywords.
To see the diffs for this commit:
   
http://www.druid.net/pygresql/viewcvs.cgi/cvs/pygresql/module/TEST_PyGreSQL_dbapi20.py.diff?r1=1.14&r2=1.15

Index: TEST_PyGreSQL_dbapi20.py
===================================================================
RCS file: /usr/cvs/Public/pygresql/module/TEST_PyGreSQL_dbapi20.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- TEST_PyGreSQL_dbapi20.py    23 Nov 2008 13:11:21 -0000      1.14
+++ TEST_PyGreSQL_dbapi20.py    23 Nov 2008 13:14:05 -0000      1.15
@@ -1,5 +1,5 @@
 #!/usr/bin/env python
-# $Id: TEST_PyGreSQL_dbapi20.py,v 1.14 2008/11/23 13:11:21 cito Exp $
+# $Id: TEST_PyGreSQL_dbapi20.py,v 1.15 2008/11/23 13:14:05 cito Exp $
 
 import dbapi20
 import unittest
@@ -51,13 +51,13 @@
 
         con = self._connect()
         curs = myCursor(con)
-        curs.execute("SELECT 1 AS a, 2 AS b")
+        curs.execute("select 1 as a, 2 as b")
         self.assertEqual(curs.fetchone(), {'a': 1, 'b': 2})
 
     def test_cursor_iteration(self):
         con = self._connect()
         curs = con.cursor()
-        curs.execute("SELECT 1 union select 2 union select 3")
+        curs.execute("select 1 union select 2 union select 3")
         self.assertEqual([r[0] for r in curs], range(1, 4))
 
     def test_fetch_2_rows(self):

_______________________________________________
PyGreSQL mailing list
[email protected]
http://mailman.vex.net/mailman/listinfo/pygresql

Reply via email to