commit | 093b67061ac54b603483fed1038d686b34cc61f5 | [log] [tgz] |
---|---|---|
author | Brett Cannon <bcannon@gmail.com> | Sat Jan 13 00:29:49 2007 +0000 |
committer | Brett Cannon <bcannon@gmail.com> | Sat Jan 13 00:29:49 2007 +0000 |
tree | 924e09dbbdc388bfb9c89acfafa6f1760e96337f | |
parent | 6fd4549bc68642ad638f384f760d06295d4e3579 [diff] [blame] |
Deprecate the sets module.
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