diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-07-26 18:26:22 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-07-26 18:26:22 -0400 |
commit | c85fa9fa50ca32523c160eaab58ab6d2b97aacc6 (patch) | |
tree | 15a1582ef6883027c1bedeee6f5c0a95e46984d1 /lib/sqlalchemy/testing/schema.py | |
parent | 759e8aec138138683ed15a264aaa392d499c2b34 (diff) | |
download | sqlalchemy-c85fa9fa50ca32523c160eaab58ab6d2b97aacc6.tar.gz |
- rework the exclusions system to have much better support for compound
rules, better message formatting
Diffstat (limited to 'lib/sqlalchemy/testing/schema.py')
-rw-r--r-- | lib/sqlalchemy/testing/schema.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sqlalchemy/testing/schema.py b/lib/sqlalchemy/testing/schema.py index 1cb356dd7..9561b1f1e 100644 --- a/lib/sqlalchemy/testing/schema.py +++ b/lib/sqlalchemy/testing/schema.py @@ -67,7 +67,7 @@ def Column(*args, **kw): test_opts = dict([(k, kw.pop(k)) for k in list(kw) if k.startswith('test_')]) - if config.requirements.foreign_key_ddl.predicate(config): + if not config.requirements.foreign_key_ddl.enabled_for_config(config): args = [arg for arg in args if not isinstance(arg, schema.ForeignKey)] col = schema.Column(*args, **kw) |