From: Mike Bayer Date: Fri, 16 Jun 2006 19:28:36 +0000 (+0000) Subject: unsupported unit test on mysql X-Git-Tag: rel_0_2_3~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6718830bf048dcd21c40690d2935388a4b02a7c;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git unsupported unit test on mysql --- diff --git a/test/engine/reflection.py b/test/engine/reflection.py index 49f69fdb56..d4e507464b 100644 --- a/test/engine/reflection.py +++ b/test/engine/reflection.py @@ -140,7 +140,11 @@ class ReflectionTest(PersistTest): assert table2.c.id.nullable assert not table2.c.name.nullable assert table2.c.description.nullable - + + # mysql throws its own exception for no such table, resulting in + # a sqlalchemy.SQLError instead of sqlalchemy.NoSuchTableError. + # this could probably be fixed at some point. + @testbase.unsupported('mysql') def test_nonexistent(self): self.assertRaises(NoSuchTableError, Table, 'fake_table',