summaryrefslogtreecommitdiff
path: root/Lib/test/test_multiprocessing_spawn.py
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2016-09-06 19:38:15 -0700
committerSteve Dower <steve.dower@microsoft.com>2016-09-06 19:38:15 -0700
commit0c5d31799ea0cc8ecf4968187f7c7e6fd3dd3d7f (patch)
tree366174e3c828f509297dd7953cf8f90daea2c24e /Lib/test/test_multiprocessing_spawn.py
parentb643ff43c058dcd50cef902f0b6e16cb53051c7c (diff)
downloadcpython-0c5d31799ea0cc8ecf4968187f7c7e6fd3dd3d7f.tar.gz
Adds test.support.PGO and skips tests that are not useful for PGO.
Diffstat (limited to 'Lib/test/test_multiprocessing_spawn.py')
-rw-r--r--Lib/test/test_multiprocessing_spawn.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/test_multiprocessing_spawn.py b/Lib/test/test_multiprocessing_spawn.py
index 334ae9e8f7..6558952308 100644
--- a/Lib/test/test_multiprocessing_spawn.py
+++ b/Lib/test/test_multiprocessing_spawn.py
@@ -1,6 +1,11 @@
import unittest
import test._test_multiprocessing
+from test import support
+
+if support.PGO:
+ raise unittest.SkipTest("test is not helpful for PGO")
+
test._test_multiprocessing.install_tests_in_module_dict(globals(), 'spawn')
if __name__ == '__main__':