summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_richcmp.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_richcmp.py')
-rw-r--r--Lib/test/test_richcmp.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/Lib/test/test_richcmp.py b/Lib/test/test_richcmp.py
index 47dcc70..ed0b497 100644
--- a/Lib/test/test_richcmp.py
+++ b/Lib/test/test_richcmp.py
@@ -2,7 +2,6 @@
import unittest
from test import test_support
-import warnings
import operator
@@ -331,13 +330,7 @@ class ListTest(unittest.TestCase):
self.assertIs(op(x, y), True)
def test_main():
- test_support.run_unittest(VectorTest, NumberTest, MiscTest, ListTest)
- with warnings.catch_warnings():
- # Silence Py3k warning
- warnings.filterwarnings("ignore", "dict inequality comparisons "
- "not supported in 3.x", DeprecationWarning)
- test_support.run_unittest(DictTest)
-
+ test_support.run_unittest(VectorTest, NumberTest, MiscTest, DictTest, ListTest)
if __name__ == "__main__":
test_main()