diff options
Diffstat (limited to 'psutil/tests/__init__.py')
-rw-r--r-- | psutil/tests/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/psutil/tests/__init__.py b/psutil/tests/__init__.py index e82bb38d..e6f0abc3 100644 --- a/psutil/tests/__init__.py +++ b/psutil/tests/__init__.py @@ -836,7 +836,7 @@ def create_exe(outpath, c_code=None): assert not os.path.exists(outpath), outpath if c_code: if not which("gcc"): - raise ValueError("gcc is not installed") + raise unittest.SkipTest("gcc is not installed") if isinstance(c_code, bool): # c_code is True c_code = textwrap.dedent( """ |