diff options
author | Brett Cannon <bcannon@gmail.com> | 2008-05-10 02:57:03 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2008-05-10 02:57:03 (GMT) |
commit | af8780483129e10d30b660cea1e3b893d913e963 (patch) | |
tree | ee39822fe52fbbe9b6de0fd18ee271f0d4bcf76b /Lib/test/test___all__.py | |
parent | edb628f24132a8f63c94effa09a537e30f3b55f5 (diff) | |
download | cpython-af8780483129e10d30b660cea1e3b893d913e963.zip cpython-af8780483129e10d30b660cea1e3b893d913e963.tar.gz cpython-af8780483129e10d30b660cea1e3b893d913e963.tar.bz2 |
Also ignore package deprecations.
Diffstat (limited to 'Lib/test/test___all__.py')
-rw-r--r-- | Lib/test/test___all__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test___all__.py b/Lib/test/test___all__.py index 8f12d7c..1076c61 100644 --- a/Lib/test/test___all__.py +++ b/Lib/test/test___all__.py @@ -10,7 +10,8 @@ class AllTest(unittest.TestCase): def check_all(self, modname): names = {} with catch_warning(): - warnings.filterwarnings("ignore", ".* module", DeprecationWarning) + warnings.filterwarnings("ignore", ".* (module|package)", + DeprecationWarning) try: exec "import %s" % modname in names except ImportError: |