]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
unsupported unit test on mysql
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 16 Jun 2006 19:28:36 +0000 (19:28 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 16 Jun 2006 19:28:36 +0000 (19:28 +0000)
test/engine/reflection.py

index 49f69fdb561466c1ab02485c84f182f06f330ecb..d4e507464b7eaad21790e4ef02acffcb107915da 100644 (file)
@@ -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',