|
32 | 32 |
|
33 | 33 | skip = skip_reason1 or skip_reason2 or skip_reason3 |
34 | 34 |
|
| 35 | +skip_mac = sys.platform.startswith('dar') |
| 36 | + |
35 | 37 |
|
36 | 38 | actors = ['Mark Hamill', 'Harrison Ford', 'Carrie Fisher', 'Alec Guinness', 'Peter Mayhew', |
37 | 39 | 'Anthony Daniels', 'Adam Driver', 'Daisy Ridley', 'John Boyega', 'Oscar Isaac', |
@@ -133,7 +135,7 @@ def test_invalid_ifs(parser1, mock): |
133 | 135 |
|
134 | 136 |
|
135 | 137 | # noinspection PyShadowingNames |
136 | | -@pytest.mark.skipif(skip, reason=skip_reason) |
| 138 | +@pytest.mark.skipif(skip or skip_mac, reason=skip_reason) |
137 | 139 | @pytest.mark.parametrize('comp_line, exp_out, exp_err', [ |
138 | 140 | ('media ', 'movies\013shows', ''), |
139 | 141 | ('media mo', 'movies', ''), |
@@ -202,7 +204,7 @@ def fdopen_fail_9(fd, mode, *args): |
202 | 204 |
|
203 | 205 |
|
204 | 206 | # noinspection PyShadowingNames |
205 | | -@pytest.mark.skipif(skip, reason=skip_reason) |
| 207 | +@pytest.mark.skipif(skip or skip_mac, reason=skip_reason) |
206 | 208 | def test_fail_alt_stderr(parser1, capfd, mock): |
207 | 209 | completer = CompletionFinder() |
208 | 210 |
|
|
0 commit comments