[Python-checkins] r72969 - python/branches/py3k/Lib/test/test_modulefinder.py
antoine.pitrou
python-checkins at python.org
Wed May 27 23:50:13 CEST 2009
Author: antoine.pitrou
Date: Wed May 27 23:50:13 2009
New Revision: 72969
Log:
Remove useless compatibility statements
Modified:
python/branches/py3k/Lib/test/test_modulefinder.py
Modified: python/branches/py3k/Lib/test/test_modulefinder.py
==============================================================================
--- python/branches/py3k/Lib/test/test_modulefinder.py (original)
+++ python/branches/py3k/Lib/test/test_modulefinder.py Wed May 27 23:50:13 2009
@@ -6,15 +6,8 @@
from test import support
-try: set
-except NameError: from sets import Set as set
-
import modulefinder
-# Note: To test modulefinder with Python 2.2, sets.py and
-# modulefinder.py must be available - they are not in the standard
-# library.
-
TEST_DIR = tempfile.mkdtemp()
TEST_PATH = [TEST_DIR, os.path.dirname(__future__.__file__)]
More information about the Python-checkins
mailing list