diff options
author | Giampaolo Rodola <g.rodola@gmail.com> | 2017-11-04 10:23:59 +0100 |
---|---|---|
committer | Giampaolo Rodola <g.rodola@gmail.com> | 2017-11-04 10:23:59 +0100 |
commit | a2957e6a4a95ffee461c5b4d37a4b16c3d13c7d2 (patch) | |
tree | f29adcd1f389e1d3bb99fc66ae40334b32d23953 | |
parent | 3f74e32f0c97e67e4647903df6f400c0e1491445 (diff) | |
download | psutil-a2957e6a4a95ffee461c5b4d37a4b16c3d13c7d2.tar.gz |
fix failure on osx/travis
-rwxr-xr-x | psutil/tests/test_misc.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/psutil/tests/test_misc.py b/psutil/tests/test_misc.py index 85bab84c..f7305a0d 100755 --- a/psutil/tests/test_misc.py +++ b/psutil/tests/test_misc.py @@ -643,6 +643,10 @@ class TestWrapNumbers(unittest.TestCase): @unittest.skipIf(TOX, "can't test on TOX") +# See: https://travis-ci.org/giampaolo/psutil/jobs/295224806 +@unittest.skipIf(TRAVIS and not + os.path.exists(os.path.join(SCRIPTS_DIR, 'free.py')), + "can't locate scripts directory") class TestScripts(unittest.TestCase): """Tests for scripts in the "scripts" directory.""" |