diff options
| author | Jason Kirtland <jek@discorporate.us> | 2007-10-20 17:14:46 +0000 |
|---|---|---|
| committer | Jason Kirtland <jek@discorporate.us> | 2007-10-20 17:14:46 +0000 |
| commit | 565dfd379001f3fc4e19ff8a6a017d39dc4be1a3 (patch) | |
| tree | ada9b9d7831511fc258d272a830890ca09c16df4 | |
| parent | ae553db3cdb71c3cc14ca02bf53d6a81ff99fb8a (diff) | |
| download | sqlalchemy-565dfd379001f3fc4e19ff8a6a017d39dc4be1a3.tar.gz | |
Excluding older sqlite versions from the new insert tests. Currently conservative- 2.8 definitely fails, 3.3 works. The 3.0 and 3.1 binaries from sqlite.org segfault for me so the version check should be revisited when possible.
| -rw-r--r-- | test/dialect/sqlite.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/dialect/sqlite.py b/test/dialect/sqlite.py index e401859bc..39ee97a5d 100644 --- a/test/dialect/sqlite.py +++ b/test/dialect/sqlite.py @@ -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), |
