From c2ceb4acca75055234905c01876e8948a97e0b7a Mon Sep 17 00:00:00 2001 From: Brad Allen Date: Sat, 20 Mar 2010 19:39:49 -0600 Subject: [PATCH] naturalpks JoinedInheritanceTest uses ON UPDATE cascade on self-referential keys, so should be exempted from mssql tests. --- test/orm/test_naturalpks.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/orm/test_naturalpks.py b/test/orm/test_naturalpks.py index 16504f2a23..1befbe8c02 100644 --- a/test/orm/test_naturalpks.py +++ b/test/orm/test_naturalpks.py @@ -696,6 +696,8 @@ class CascadeToFKPKTest(_base.MappedTest, testing.AssertsCompiledSQL): class JoinedInheritanceTest(_base.MappedTest): """Test cascades of pk->pk/fk on joined table inh.""" + + __unsupported_on__ = ('mssql',) # mssql doesn't allow ON UPDATE on self-referential keys @classmethod def define_tables(cls, metadata): -- 2.47.3