* Migrate set() and frozenset() from the sandbox.
* Install the unittests, docs, newsitem, include file, and makefile update.
* Exercise the new functions whereever sets.py was being used.
Includes the docs for libfuncs.tex. Separate docs for the types are
forthcoming.
diff --git a/Lib/test/test_glob.py b/Lib/test/test_glob.py
index dd33691..31de30d 100644
--- a/Lib/test/test_glob.py
+++ b/Lib/test/test_glob.py
@@ -2,7 +2,6 @@
from test.test_support import run_unittest, TESTFN
import glob
import os
-from sets import Set
def mkdirs(fname):
if os.path.exists(fname) or fname == '':
@@ -62,7 +61,7 @@
return glob.glob(p)
def assertSequencesEqual_noorder(self, l1, l2):
- self.assertEqual(Set(l1), Set(l2))
+ self.assertEqual(set(l1), set(l2))
def test_glob_literal(self):
eq = self.assertSequencesEqual_noorder