Skip to content

Commit a2bdbe5

Browse files
Only skip failing test on macOS (#709)
* Only skip failing test on macOS * style: pre-commit fixes --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent 3cf8ab1 commit a2bdbe5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

numcodecs/tests/test_vlen_bytes.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import sys
12
import unittest
23

34
import numpy as np
@@ -86,7 +87,7 @@ def test_decode_errors():
8687

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

0 commit comments

Comments
 (0)