Removed the Requirement to Install Python and NodeJS (Now Bundled with Borealis)
This commit is contained in:
13
Dependencies/Python/Lib/test/test_multiprocessing_forkserver/__init__.py
vendored
Normal file
13
Dependencies/Python/Lib/test/test_multiprocessing_forkserver/__init__.py
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
import os.path
|
||||
import sys
|
||||
import unittest
|
||||
from test import support
|
||||
|
||||
if support.PGO:
|
||||
raise unittest.SkipTest("test is not helpful for PGO")
|
||||
|
||||
if sys.platform == "win32":
|
||||
raise unittest.SkipTest("forkserver is not available on Windows")
|
||||
|
||||
def load_tests(*args):
|
||||
return support.load_package_tests(os.path.dirname(__file__), *args)
|
7
Dependencies/Python/Lib/test/test_multiprocessing_forkserver/test_manager.py
vendored
Normal file
7
Dependencies/Python/Lib/test/test_multiprocessing_forkserver/test_manager.py
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
import unittest
|
||||
from test._test_multiprocessing import install_tests_in_module_dict
|
||||
|
||||
install_tests_in_module_dict(globals(), 'forkserver', only_type="manager")
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
7
Dependencies/Python/Lib/test/test_multiprocessing_forkserver/test_misc.py
vendored
Normal file
7
Dependencies/Python/Lib/test/test_multiprocessing_forkserver/test_misc.py
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
import unittest
|
||||
from test._test_multiprocessing import install_tests_in_module_dict
|
||||
|
||||
install_tests_in_module_dict(globals(), 'forkserver', exclude_types=True)
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
7
Dependencies/Python/Lib/test/test_multiprocessing_forkserver/test_processes.py
vendored
Normal file
7
Dependencies/Python/Lib/test/test_multiprocessing_forkserver/test_processes.py
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
import unittest
|
||||
from test._test_multiprocessing import install_tests_in_module_dict
|
||||
|
||||
install_tests_in_module_dict(globals(), 'forkserver', only_type="processes")
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
7
Dependencies/Python/Lib/test/test_multiprocessing_forkserver/test_threads.py
vendored
Normal file
7
Dependencies/Python/Lib/test/test_multiprocessing_forkserver/test_threads.py
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
import unittest
|
||||
from test._test_multiprocessing import install_tests_in_module_dict
|
||||
|
||||
install_tests_in_module_dict(globals(), 'forkserver', only_type="threads")
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
Reference in New Issue
Block a user