summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-07-18 14:26:35 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-07-18 14:26:35 (GMT)
commite2886fd3ca357c4cf7c1584375d9b9bb55d476b7 (patch)
tree0ff7a2bd2644f7e292225daa41098aee2cc53163 /Lib
parent0e3a6cf2cb8e4f2710f30c968efeee0193791583 (diff)
downloadcpython-e2886fd3ca357c4cf7c1584375d9b9bb55d476b7.zip
cpython-e2886fd3ca357c4cf7c1584375d9b9bb55d476b7.tar.gz
cpython-e2886fd3ca357c4cf7c1584375d9b9bb55d476b7.tar.bz2
now that test_lib2to3 actually works and isn't extremely slow, we don't need the lib2to3 resource
Diffstat (limited to 'Lib')
-rwxr-xr-xLib/test/regrtest.py4
-rw-r--r--Lib/test/test_lib2to3.py6
2 files changed, 3 insertions, 7 deletions
diff --git a/Lib/test/regrtest.py b/Lib/test/regrtest.py
index b27e53b..f185111 100755
--- a/Lib/test/regrtest.py
+++ b/Lib/test/regrtest.py
@@ -167,8 +167,8 @@ if sys.platform == 'darwin':
from test import test_support
-RESOURCE_NAMES = ('audio', 'curses', 'lib2to3', 'largefile', 'network',
- 'bsddb', 'decimal', 'compiler', 'subprocess', 'urlfetch')
+RESOURCE_NAMES = ('audio', 'curses', 'largefile', 'network', 'bsddb',
+ 'decimal', 'compiler', 'subprocess', 'urlfetch')
def usage(code, msg=''):
diff --git a/Lib/test/test_lib2to3.py b/Lib/test/test_lib2to3.py
index 6d589d8..161b9dd 100644
--- a/Lib/test/test_lib2to3.py
+++ b/Lib/test/test_lib2to3.py
@@ -2,11 +2,7 @@
# because of running
from lib2to3.tests import test_fixers, test_pytree, test_util
import unittest
-from test.test_support import run_unittest, requires
-
-# Don't run lib2to3 tests by default since they take too long
-if __name__ != '__main__':
- requires('lib2to3')
+from test.test_support import run_unittest
def suite():
tests = unittest.TestSuite()