[Python-checkins] r65104 - in python/trunk/Lib/test: regrtest.py test_lib2to3.py
benjamin.peterson
python-checkins at python.org
Fri Jul 18 16:26:35 CEST 2008
Author: benjamin.peterson
Date: Fri Jul 18 16:26:35 2008
New Revision: 65104
Log:
now that test_lib2to3 actually works and isn't extremely slow, we don't need the lib2to3 resource
Modified:
python/trunk/Lib/test/regrtest.py
python/trunk/Lib/test/test_lib2to3.py
Modified: python/trunk/Lib/test/regrtest.py
==============================================================================
--- python/trunk/Lib/test/regrtest.py (original)
+++ python/trunk/Lib/test/regrtest.py Fri Jul 18 16:26:35 2008
@@ -167,8 +167,8 @@
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=''):
Modified: python/trunk/Lib/test/test_lib2to3.py
==============================================================================
--- python/trunk/Lib/test/test_lib2to3.py (original)
+++ python/trunk/Lib/test/test_lib2to3.py Fri Jul 18 16:26:35 2008
@@ -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()
More information about the Python-checkins
mailing list