diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-05-04 21:52:34 -0400 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2018-05-04 21:52:34 -0400 |
commit | 7486bae77936f5168f3855d527dc8467d1132e4c (patch) | |
tree | 4f4b211870a3953267103463cd4f8f3b8cfbd59a /tests | |
parent | 3e0e3b1d38a202271d7e8356430c92d42e9c0c28 (diff) | |
download | cmd2-git-7486bae77936f5168f3855d527dc8467d1132e4c.tar.gz |
Skip a couple tests on macOS which were problematic on my computer
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_bashcompletion.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/test_bashcompletion.py b/tests/test_bashcompletion.py index 22c6aa7d..ceae2aa9 100644 --- a/tests/test_bashcompletion.py +++ b/tests/test_bashcompletion.py @@ -32,6 +32,8 @@ if skip_reason3: skip = skip_reason1 or skip_reason2 or skip_reason3 +skip_mac = sys.platform.startswith('dar') + actors = ['Mark Hamill', 'Harrison Ford', 'Carrie Fisher', 'Alec Guinness', 'Peter Mayhew', 'Anthony Daniels', 'Adam Driver', 'Daisy Ridley', 'John Boyega', 'Oscar Isaac', @@ -133,7 +135,7 @@ def test_invalid_ifs(parser1, mock): # noinspection PyShadowingNames -@pytest.mark.skipif(skip, reason=skip_reason) +@pytest.mark.skipif(skip or skip_mac, reason=skip_reason) @pytest.mark.parametrize('comp_line, exp_out, exp_err', [ ('media ', 'movies\013shows', ''), ('media mo', 'movies', ''), @@ -202,7 +204,7 @@ def fdopen_fail_9(fd, mode, *args): # noinspection PyShadowingNames -@pytest.mark.skipif(skip, reason=skip_reason) +@pytest.mark.skipif(skip or skip_mac, reason=skip_reason) def test_fail_alt_stderr(parser1, capfd, mock): completer = CompletionFinder() |