now that test_lib2to3 actually works and isn't extremely slow, we don't need the lib2to3 resource

This commit is contained in:
Benjamin Peterson 2008-07-18 14:26:35 +00:00
parent 0e3a6cf2cb
commit e2886fd3ca
2 changed files with 3 additions and 7 deletions

View File

@ -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=''):

View File

@ -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()