Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion numcodecs/tests/test_entrypoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
here = os.path.abspath(os.path.dirname(__file__))


@pytest.fixture()
@pytest.fixture
def set_path():
sys.path.append(here)
numcodecs.registry.run_entrypoints()
Expand Down
2 changes: 1 addition & 1 deletion numcodecs/tests/test_pcodec.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ def test_config():


def test_invalid_config_error():
codec = PCodec(mode_spec='bogus')
with pytest.raises(ValueError):
codec = PCodec(mode_spec='bogus')
check_encode_decode_array_to_bytes(arrays[0], codec)


Expand Down
4 changes: 2 additions & 2 deletions numcodecs/tests/test_shuffle.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def test_expected_result():


def test_incompatible_elementsize():
arr = np.arange(1001, dtype='u1')
codec = Shuffle(elementsize=4)
with pytest.raises(ValueError):
arr = np.arange(1001, dtype='u1')
codec = Shuffle(elementsize=4)
codec.encode(arr)
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ ignore = [
"PT004", # deprecated
"PT005", # deprecated
"PT011",
"PT012",
"RUF001",
"UP007",
"UP027", # deprecated
Expand Down
Loading