Also ignore package deprecations.
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 @@
     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: