Skip to content

Commit 8b85c64

Browse files
committed
Only skip failing test on macOS
1 parent 3cf8ab1 commit 8b85c64

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

numcodecs/tests/test_vlen_bytes.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import os
2+
import sys
13
import unittest
24

35
import numpy as np
@@ -86,7 +88,7 @@ def test_decode_errors():
8688

8789
# TODO: fix this test on GitHub actions somehow...
8890
# See https://github.com/zarr-developers/numcodecs/issues/683
89-
@pytest.mark.skip("Test is failing on GitHub actions.")
91+
@pytest.mark.skipif(sys.platform == "darwin", reason="Test is failing on macOS on GitHub actions.")
9092
def test_encode_none():
9193
a = np.array([b'foo', None, b'bar'], dtype=object)
9294
codec = VLenBytes()

0 commit comments

Comments
 (0)