#7092: silence some more py3k warnings.
diff --git a/Lib/test/test_dict.py b/Lib/test/test_dict.py
index 26c1d94..4df7388 100644
--- a/Lib/test/test_dict.py
+++ b/Lib/test/test_dict.py
@@ -660,11 +660,14 @@
     type2test = Dict
 
 def test_main():
-    test_support.run_unittest(
-        DictTest,
-        GeneralMappingTests,
-        SubclassMappingTests,
-    )
+    with test_support.check_py3k_warnings(
+        ('dict(.has_key..| inequality comparisons) not supported in 3.x',
+         DeprecationWarning)):
+        test_support.run_unittest(
+            DictTest,
+            GeneralMappingTests,
+            SubclassMappingTests,
+        )
 
 if __name__ == "__main__":
     test_main()