mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
#2621 rename test.test_support to test.support
This commit is contained in:
parent
6a654814ea
commit
ee8712cda4
358 changed files with 1308 additions and 1307 deletions
|
@ -1,5 +1,5 @@
|
|||
import sys, unittest
|
||||
from test import test_support
|
||||
from test import support
|
||||
import _ast
|
||||
|
||||
def to_tuple(t):
|
||||
|
@ -176,7 +176,7 @@ class AST_Tests(unittest.TestCase):
|
|||
self.assertEquals(to_tuple(ast2), to_tuple(ast))
|
||||
|
||||
def test_main():
|
||||
test_support.run_unittest(AST_Tests)
|
||||
support.run_unittest(AST_Tests)
|
||||
|
||||
def main():
|
||||
if __name__ != '__main__':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue