]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Excluding older sqlite versions from the new insert tests. Currently conservative...
authorJason Kirtland <jek@discorporate.us>
Sat, 20 Oct 2007 17:14:46 +0000 (17:14 +0000)
committerJason Kirtland <jek@discorporate.us>
Sat, 20 Oct 2007 17:14:46 +0000 (17:14 +0000)
test/dialect/sqlite.py

index e401859bc2582e8edda7704cb28f0a09c40226b1..39ee97a5d806faebe0c06133ae6b4f3b18e5be63 100644 (file)
@@ -103,12 +103,14 @@ class InsertTest(AssertMixin):
             table.drop()
 
     @testing.supported('sqlite')
+    @testing.exclude('sqlite', '<', (3, 3))
     def test_empty_insert_pk1(self):
         self._test_empty_insert(
             Table('a', MetaData(testbase.db),
                   Column('id', Integer, primary_key=True)))
 
     @testing.supported('sqlite')
+    @testing.exclude('sqlite', '<', (3, 3))
     def test_empty_insert_pk2(self):
         self.assertRaises(
             exceptions.DBAPIError,
@@ -118,6 +120,7 @@ class InsertTest(AssertMixin):
                   Column('y', Integer, primary_key=True)))
 
     @testing.supported('sqlite')
+    @testing.exclude('sqlite', '<', (3, 3))
     def test_empty_insert_pk3(self):
         self.assertRaises(
             exceptions.DBAPIError,
@@ -128,6 +131,7 @@ class InsertTest(AssertMixin):
                          primary_key=True)))
 
     @testing.supported('sqlite')
+    @testing.exclude('sqlite', '<', (3, 3))
     def test_empty_insert_pk4(self):
         self._test_empty_insert(
             Table('d', MetaData(testbase.db),
@@ -135,12 +139,14 @@ class InsertTest(AssertMixin):
                   Column('y', Integer, PassiveDefault('123'))))
 
     @testing.supported('sqlite')
+    @testing.exclude('sqlite', '<', (3, 3))
     def test_empty_insert_nopk1(self):
         self._test_empty_insert(
             Table('e', MetaData(testbase.db),
                   Column('id', Integer)))
     
     @testing.supported('sqlite')
+    @testing.exclude('sqlite', '<', (3, 3))
     def test_empty_insert_nopk2(self):
         self._test_empty_insert(
             Table('f', MetaData(testbase.db),