Improve a comment in __init__.py.

This commit is contained in:
david-sarah 2012-05-14 16:34:31 +00:00
parent 4b80299fdd
commit bf7e351464

View File

@ -161,9 +161,8 @@ def get_package_versions_and_locations():
message="BaseException.message has been deprecated as of Python 2.6",
append=True)
# This is to suppress various DeprecationWarnings and UserWarnings that
# occur when modules are imported. See #859, #1435 and
# http://divmod.org/trac/ticket/2994 [broken link].
# This is to suppress various DeprecationWarnings, UserWarnings, and RuntimeWarnings
# (listed in _auto_deps.py) that occur when modules are imported.
for msg in deprecation_messages:
warnings.filterwarnings("ignore", category=DeprecationWarning, message=msg, append=True)