diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-12-25 17:34:24 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2011-12-25 17:34:24 -0500 |
commit | 68f6951019dce746a0d093ee597e89d68f4d8fc0 (patch) | |
tree | 24c6c415aacf75e2a24215626215f7853e0b9469 /lib/sqlalchemy/util/langhelpers.py | |
parent | 6ed0d7e3339dd14daad612f9ac6dd2f5e90ef517 (diff) | |
download | sqlalchemy-68f6951019dce746a0d093ee597e89d68f4d8fc0.tar.gz |
fix a whole bunch of note:: / warning:: that were inline,
no longer compatible with docutils 0.8
Diffstat (limited to 'lib/sqlalchemy/util/langhelpers.py')
-rw-r--r-- | lib/sqlalchemy/util/langhelpers.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/sqlalchemy/util/langhelpers.py b/lib/sqlalchemy/util/langhelpers.py index f10ab3fb5..a75547017 100644 --- a/lib/sqlalchemy/util/langhelpers.py +++ b/lib/sqlalchemy/util/langhelpers.py @@ -860,7 +860,9 @@ def warn(msg, stacklevel=3): If msg is a string, :class:`.exc.SAWarning` is used as the category. - .. note:: This function is swapped out when the test suite + .. note:: + + This function is swapped out when the test suite runs, with a compatible version that uses warnings.warn_explicit, so that the warnings registry can be controlled. |