summaryrefslogtreecommitdiff
path: root/lib/sqlalchemy/test/testing.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2010-09-05 11:28:43 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2010-09-05 11:28:43 -0400
commit7217711f46ed41f5d657f5f1b522a73ad2f307a0 (patch)
treeef3eb10f436e8979931939db30322793cdf3e039 /lib/sqlalchemy/test/testing.py
parent6e83926657057c97239bef114e640f2b102be02c (diff)
downloadsqlalchemy-7217711f46ed41f5d657f5f1b522a73ad2f307a0.tar.gz
- mapper _get_col_to_prop private method used
by the versioning example is deprecated; now use mapper.get_property_by_column() which will remain the public method for this. - turned TODO in the history example into an assertion with a descriptive reason
Diffstat (limited to 'lib/sqlalchemy/test/testing.py')
-rw-r--r--lib/sqlalchemy/test/testing.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sqlalchemy/test/testing.py b/lib/sqlalchemy/test/testing.py
index 78cd74d22..d09621dc8 100644
--- a/lib/sqlalchemy/test/testing.py
+++ b/lib/sqlalchemy/test/testing.py
@@ -398,6 +398,7 @@ def uses_deprecated(*messages):
verbiage emitted by the sqlalchemy.util.deprecated decorator.
"""
+
def decorate(fn):
def safe(*args, **kw):
# todo: should probably be strict about this, too