Skip to content

Commit 602ef55

Browse files
committed
blanket skip instead
1 parent 0b44da2 commit 602ef55

File tree

2 files changed

+7
-10
lines changed

2 files changed

+7
-10
lines changed

thinc/tests/backends/test_ops.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1383,8 +1383,7 @@ def test_lstm_forward_training(ops, depth, dirs, nO, batch_size, nI):
13831383
assert_allclose(Y, reference[0], atol=1e-4, rtol=1e-3)
13841384

13851385

1386-
@pytest.mark.skipif(platform.machine() == "aarch64", reason="Flaky, skip temporarily")
1387-
@pytest.mark.skipif(platform.machine() == "win_amd64", reason="Flaky, skip temporarily")
1386+
@pytest.mark.skip(reason="Flaky, skip temporarily")
13881387
@pytest.mark.parametrize("ops", XP_OPS)
13891388
@settings(max_examples=MAX_EXAMPLES, deadline=None)
13901389
@given(args=draw_lstm_args())

thinc/tests/layers/test_linear.py

+6-8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import platform
2-
31
import numpy
42
import pytest
53
from hypothesis import given, settings
@@ -36,7 +34,7 @@ def test_linear_dimensions_on_data():
3634
y.max.assert_called_with()
3735

3836

39-
@pytest.mark.skipif(platform.machine() == "win_amd64", reason="Flaky, skip temporarily")
37+
@pytest.mark.skip(reason="Flaky, skip temporarily")
4038
@given(arrays_OI_O_BI(max_batch=8, max_out=8, max_in=8))
4139
def test_begin_update_matches_predict(W_b_input):
4240
model = get_model(W_b_input)
@@ -47,7 +45,7 @@ def test_begin_update_matches_predict(W_b_input):
4745
assert_allclose(fwd_via_begin_update, fwd_via_predict_batch)
4846

4947

50-
@pytest.mark.skipif(platform.machine() == "win_amd64", reason="Flaky, skip temporarily")
48+
@pytest.mark.skip(reason="Flaky, skip temporarily")
5149
@given(arrays_OI_O_BI(max_batch=8, max_out=8, max_in=8))
5250
def test_finish_update_calls_optimizer_with_weights(W_b_input):
5351
model = get_model(W_b_input)
@@ -69,7 +67,7 @@ def sgd(key, data, gradient, **kwargs):
6967
assert (model.id, name) in seen_keys
7068

7169

72-
@pytest.mark.skipif(platform.machine() == "win_amd64", reason="Flaky, skip temporarily")
70+
@pytest.mark.skip(reason="Flaky, skip temporarily")
7371
@settings(max_examples=100)
7472
@given(arrays_OI_O_BI(max_batch=8, max_out=8, max_in=8))
7573
def test_predict_small(W_b_input):
@@ -92,7 +90,7 @@ def test_predict_small(W_b_input):
9290
assert_allclose(predicted_output, expected_output, rtol=0.01, atol=0.01)
9391

9492

95-
@pytest.mark.skipif(platform.machine() == "win_amd64", reason="Flaky, skip temporarily")
93+
@pytest.mark.skip(reason="Flaky, skip temporarily")
9694
@given(arrays_OI_O_BI(max_batch=20, max_out=30, max_in=30))
9795
@settings(deadline=None)
9896
def test_predict_extensive(W_b_input):
@@ -115,7 +113,7 @@ def test_predict_extensive(W_b_input):
115113
assert_allclose(predicted_output, expected_output, rtol=1e-04, atol=0.0001)
116114

117115

118-
@pytest.mark.skipif(platform.machine() == "win_amd64", reason="Flaky, skip temporarily")
116+
@pytest.mark.skip(reason="Flaky, skip temporarily")
119117
@given(arrays_OI_O_BI(max_batch=8, max_out=8, max_in=8))
120118
def test_dropout_gives_zero_activations(W_b_input):
121119
model = chain(get_model(W_b_input), Dropout(1.0))
@@ -125,7 +123,7 @@ def test_dropout_gives_zero_activations(W_b_input):
125123
assert all(val == 0.0 for val in fwd_dropped.flatten())
126124

127125

128-
@pytest.mark.skipif(platform.machine() == "win_amd64", reason="Flaky, skip temporarily")
126+
@pytest.mark.skip(reason="Flaky, skip temporarily")
129127
@given(arrays_OI_O_BI(max_batch=8, max_out=8, max_in=8))
130128
def test_dropout_gives_zero_gradients(W_b_input):
131129
model = chain(get_model(W_b_input), Dropout(1.0))

0 commit comments

Comments
 (0)