From: Philip Jenvey Date: Tue, 18 Aug 2009 05:51:32 +0000 (+0000) Subject: this workaround isn't necessary X-Git-Tag: rel_0_6beta1~326 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8e551942c0b5fc489ce6411cbbbffc3d4066dc46;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git this workaround isn't necessary --- diff --git a/test/sql/test_returning.py b/test/sql/test_returning.py index 02d906dd84..d76c76173a 100644 --- a/test/sql/test_returning.py +++ b/test/sql/test_returning.py @@ -93,8 +93,6 @@ class ReturningTest(TestBase, AssertsExecutionResults): eq_(result.fetchall(), [(1,)]) - @testing.crashes('oracle+zxjdbc', 'Triggers a "No more data to read from socket" and ' - 'prevents table from being dropped') @testing.fails_on('postgresql', '') @testing.fails_on('oracle', '') def test_executemany(): @@ -112,8 +110,7 @@ class ReturningTest(TestBase, AssertsExecutionResults): test_executemany() result3 = table.insert().returning(table.c.id).execute({'persons': 4, 'full': False}) - next = testing.against('oracle+zxjdbc') and 2 or 4 - eq_([dict(row) for row in result3], [{'id': next}]) + eq_([dict(row) for row in result3], [{'id': 4}]) @testing.exclude('firebird', '<', (2, 1), '2.1+ feature')