diff options
Diffstat (limited to 'tests/test_bashcompletion.py')
-rw-r--r-- | tests/test_bashcompletion.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/test_bashcompletion.py b/tests/test_bashcompletion.py index 1d8caba6..22c6aa7d 100644 --- a/tests/test_bashcompletion.py +++ b/tests/test_bashcompletion.py @@ -22,11 +22,10 @@ except ImportError: skip_reason1 = True skip_reason = "argcomplete isn't installed\n" +skip_reason2 = "TRAVIS" in os.environ and os.environ["TRAVIS"] == "true" +if skip_reason2: + skip_reason += 'These tests cannot run on TRAVIS\n' -# skip_reason2 = "TRAVIS" in os.environ and os.environ["TRAVIS"] == "true" -# if skip_reason2: -# skip_reason += 'These tests cannot run on TRAVIS\n' -skip_reason2 = False skip_reason3 = sys.platform.startswith('win') if skip_reason3: skip_reason = 'argcomplete doesn\'t support Windows' |