diff options
author | Raymond Hettinger <python@rcn.com> | 2003-11-16 16:17:49 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2003-11-16 16:17:49 (GMT) |
commit | a690a9967e715663b7a421c9ebdad91381cdf1e4 (patch) | |
tree | 1c5d9eeef0ac20efe39f1af11a81d745592596d1 /Lib/test/regrtest.py | |
parent | d456849f19fa7b00b6560b67c5388a5a6cd89d0a (diff) | |
download | cpython-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/regrtest.py')
-rwxr-xr-x | Lib/test/regrtest.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py index 6d0c242..733c8a5 100755 --- a/Lib/test/regrtest.py +++ b/Lib/test/regrtest.py @@ -75,7 +75,6 @@ import traceback import random import cStringIO import warnings -from sets import Set # I see no other way to suppress these warnings; # putting them in test_grammar.py has no effect: @@ -306,7 +305,7 @@ def main(tests=None, testdir=None, verbose=0, quiet=0, generate=0, e = _ExpectedSkips() plat = sys.platform if e.isvalid(): - surprise = Set(skipped) - e.getexpected() - Set(resource_denieds) + surprise = set(skipped) - e.getexpected() - set(resource_denieds) if surprise: print count(len(surprise), "skip"), \ "unexpected on", plat + ":" @@ -948,7 +947,7 @@ class _ExpectedSkips: self.valid = False if sys.platform in _expectations: s = _expectations[sys.platform] - self.expected = Set(s.split()) + self.expected = set(s.split()) if not os.path.supports_unicode_filenames: self.expected.add('test_pep277') |