mirror of
https://github.com/python/cpython.git
synced 2025-08-29 05:05:03 +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,6 +1,6 @@
|
|||
|
||||
import test.test_support, unittest
|
||||
from test.test_support import TESTFN, unlink
|
||||
import test.support, unittest
|
||||
from test.support import TESTFN, unlink
|
||||
import os, sys
|
||||
|
||||
class CodingTest(unittest.TestCase):
|
||||
|
@ -50,7 +50,7 @@ class CodingTest(unittest.TestCase):
|
|||
sys.path.pop(0)
|
||||
|
||||
def test_main():
|
||||
test.test_support.run_unittest(CodingTest)
|
||||
test.support.run_unittest(CodingTest)
|
||||
|
||||
if __name__ == "__main__":
|
||||
test_main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue