mirror of https://github.com/python/cpython
Disable lib2to3 by default, unless run explicitly.
This commit is contained in:
parent
5144ff5f78
commit
5a9ef426a9
|
@ -2,7 +2,11 @@
|
|||
# because of running
|
||||
from lib2to3.tests import test_fixers, test_pytree, test_util
|
||||
import unittest
|
||||
from test.test_support import run_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')
|
||||
|
||||
def suite():
|
||||
tests = unittest.TestSuite()
|
||||
|
|
Loading…
Reference in New Issue