diff options
author | Christian Heimes <christian@python.org> | 2022-06-03 20:14:31 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-03 20:14:31 (GMT) |
commit | 1a8a0ddb1c62ef9aff598e7e3e3a65cf35353932 (patch) | |
tree | f061baf53910003c782913337a0108e062a4add3 /Lib/test/test_dtrace.py | |
parent | d52ffc1d1f14576605195e4ed3a4d5d63497c3e3 (diff) | |
download | cpython-1a8a0ddb1c62ef9aff598e7e3e3a65cf35353932.zip cpython-1a8a0ddb1c62ef9aff598e7e3e3a65cf35353932.tar.gz cpython-1a8a0ddb1c62ef9aff598e7e3e3a65cf35353932.tar.bz2 |
gh-84461: Skip dtrace/network tests that are enabled by -u all (GH-93473)
Diffstat (limited to 'Lib/test/test_dtrace.py')
-rw-r--r-- | Lib/test/test_dtrace.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/test/test_dtrace.py b/Lib/test/test_dtrace.py index 8a436ad..4b971de 100644 --- a/Lib/test/test_dtrace.py +++ b/Lib/test/test_dtrace.py @@ -6,9 +6,14 @@ import sys import types import unittest +from test import support from test.support import findfile +if not support.has_subprocess_support: + raise unittest.SkipTest("test module requires subprocess") + + def abspath(filename): return os.path.abspath(findfile(filename, subdir="dtracedata")) |