summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_multiprocessing_spawn.py
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2016-09-07 02:38:15 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2016-09-07 02:38:15 (GMT)
commit22d0698d3b034f4f4314aa793da7225a5da640ba (patch)
treef37ff8f491d40b22f8828d7f7a6c1912df6ff869 /Lib/test/test_multiprocessing_spawn.py
parenta571120410bf7a92ca612068cf1a754d5dca614e (diff)
downloadcpython-22d0698d3b034f4f4314aa793da7225a5da640ba.zip
cpython-22d0698d3b034f4f4314aa793da7225a5da640ba.tar.gz
cpython-22d0698d3b034f4f4314aa793da7225a5da640ba.tar.bz2
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 334ae9e..6558952 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__':