Skip to content

Commit

Permalink
Only skip failing test on macOS (zarr-developers#709)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
dstansby and pre-commit-ci[bot] authored Feb 14, 2025
1 parent 3cf8ab1 commit a2bdbe5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion numcodecs/tests/test_vlen_bytes.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import sys
import unittest

import numpy as np
Expand Down Expand Up @@ -86,7 +87,7 @@ def test_decode_errors():

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

0 comments on commit a2bdbe5

Please sign in to comment.