summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sets.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_sets.py')
-rw-r--r--Lib/test/test_sets.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/test/test_sets.py b/Lib/test/test_sets.py
index 85e4a22..efa388f 100644
--- a/Lib/test/test_sets.py
+++ b/Lib/test/test_sets.py
@@ -1,5 +1,9 @@
#!/usr/bin/env python
+import warnings
+warnings.filterwarnings("ignore", "the sets module is deprecated",
+ DeprecationWarning, "test\.test_sets")
+
import unittest, operator, copy, pickle, random
from sets import Set, ImmutableSet
from test import test_support