Changeset: 11ab2e3a6288 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=11ab2e3a6288
Modified Files:
clients/python2/monetdb/control.py
clients/python2/test/dbapi20.py
clients/python3/test/capabilities.py
clients/python3/test/runtests.py
Branch: Feb2013
Log Message:
eliminate white-space differences between clients/python2/ & clients/python3/
diffs (42 lines):
diff --git a/clients/python2/monetdb/control.py
b/clients/python2/monetdb/control.py
--- a/clients/python2/monetdb/control.py
+++ b/clients/python2/monetdb/control.py
@@ -45,6 +45,7 @@ def parse_statusline(line):
return info
+
def isempty(result):
""" raises an exception if the result is not empty"""
if result != "":
diff --git a/clients/python2/test/dbapi20.py b/clients/python2/test/dbapi20.py
--- a/clients/python2/test/dbapi20.py
+++ b/clients/python2/test/dbapi20.py
@@ -900,7 +900,6 @@ class DatabaseAPI20Test(unittest.TestCas
try:
cur = con.cursor()
self.executeDDL1(cur)
-
args = {'beer': unicode('\N{latin small letter a with acute}',
'unicode-escape')}
encoded = args['beer']
diff --git a/clients/python3/test/capabilities.py
b/clients/python3/test/capabilities.py
--- a/clients/python3/test/capabilities.py
+++ b/clients/python3/test/capabilities.py
@@ -365,4 +365,3 @@ class DatabaseTest(unittest.TestCase):
(table1, table2))
result = self.cursor.fetchall()
self.assertEqual(result, [(50, 50)])
-
diff --git a/clients/python3/test/runtests.py b/clients/python3/test/runtests.py
--- a/clients/python3/test/runtests.py
+++ b/clients/python3/test/runtests.py
@@ -95,7 +95,7 @@ if __name__ == '__main__':
Test_Capabilities,
Test_DBAPI20,
test_pythonize.TestPythonize,
- ]
+ ]
for suite in suites:
tests = unittest.TestLoader().loadTestsFromTestCase(suite)
_______________________________________________
checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list