mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +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,7 +1,7 @@
|
|||
from test import test_support
|
||||
test_support.requires('audio')
|
||||
from test import support
|
||||
support.requires('audio')
|
||||
|
||||
from test.test_support import findfile, TestSkipped
|
||||
from test.support import findfile, TestSkipped
|
||||
|
||||
import errno
|
||||
import ossaudiodev
|
||||
|
@ -167,7 +167,7 @@ def test_main():
|
|||
raise TestSkipped(msg)
|
||||
raise
|
||||
dsp.close()
|
||||
test_support.run_unittest(__name__)
|
||||
support.run_unittest(__name__)
|
||||
|
||||
if __name__ == "__main__":
|
||||
test_main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue