]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
this workaround isn't necessary
authorPhilip Jenvey <pjenvey@underboss.org>
Tue, 18 Aug 2009 05:51:32 +0000 (05:51 +0000)
committerPhilip Jenvey <pjenvey@underboss.org>
Tue, 18 Aug 2009 05:51:32 +0000 (05:51 +0000)
test/sql/test_returning.py

index 02d906dd846983c0b3eed39135a75ffc7780f317..d76c76173a71081191203773526c8043d2e3246c 100644 (file)
@@ -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')