summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_glob.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-11-16 16:17:49 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-11-16 16:17:49 (GMT)
commita690a9967e715663b7a421c9ebdad91381cdf1e4 (patch)
tree1c5d9eeef0ac20efe39f1af11a81d745592596d1 /Lib/test/test_glob.py
parentd456849f19fa7b00b6560b67c5388a5a6cd89d0a (diff)
downloadcpython-a690a9967e715663b7a421c9ebdad91381cdf1e4.zip
cpython-a690a9967e715663b7a421c9ebdad91381cdf1e4.tar.gz
cpython-a690a9967e715663b7a421c9ebdad91381cdf1e4.tar.bz2
* 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.
Diffstat (limited to 'Lib/test/test_glob.py')
-rw-r--r--Lib/test/test_glob.py3
1 files changed, 1 insertions, 2 deletions
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 @@ import unittest
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 @@ class GlobTests(unittest.TestCase):
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