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
Binary file added fixture/gzip/array.00.npy
Binary file not shown.
Binary file added fixture/gzip/array.01.npy
Binary file not shown.
Binary file added fixture/gzip/array.02.npy
Binary file not shown.
Binary file added fixture/gzip/array.03.npy
Binary file not shown.
Binary file added fixture/gzip/array.04.npy
Binary file not shown.
Binary file added fixture/gzip/array.05.npy
Binary file not shown.
Binary file added fixture/gzip/array.06.npy
Binary file not shown.
Binary file added fixture/gzip/array.07.npy
Binary file not shown.
Binary file added fixture/gzip/array.08.npy
Binary file not shown.
4 changes: 4 additions & 0 deletions fixture/gzip/codec.00/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"id": "gzip",
"level": 1
}
Binary file added fixture/gzip/codec.00/encoded.00.dat
Binary file not shown.
Binary file added fixture/gzip/codec.00/encoded.01.dat
Binary file not shown.
Binary file added fixture/gzip/codec.00/encoded.02.dat
Binary file not shown.
Binary file added fixture/gzip/codec.00/encoded.03.dat
Binary file not shown.
Binary file added fixture/gzip/codec.00/encoded.04.dat
Binary file not shown.
Binary file added fixture/gzip/codec.00/encoded.05.dat
Binary file not shown.
Binary file added fixture/gzip/codec.00/encoded.06.dat
Binary file not shown.
Binary file added fixture/gzip/codec.00/encoded.07.dat
Binary file not shown.
Binary file added fixture/gzip/codec.00/encoded.08.dat
Binary file not shown.
4 changes: 4 additions & 0 deletions fixture/gzip/codec.01/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"id": "gzip",
"level": -1
}
Binary file added fixture/gzip/codec.01/encoded.00.dat
Binary file not shown.
Binary file added fixture/gzip/codec.01/encoded.01.dat
Binary file not shown.
Binary file added fixture/gzip/codec.01/encoded.02.dat
Binary file not shown.
Binary file added fixture/gzip/codec.01/encoded.03.dat
Binary file not shown.
Binary file added fixture/gzip/codec.01/encoded.04.dat
Binary file not shown.
Binary file added fixture/gzip/codec.01/encoded.05.dat
Binary file not shown.
Binary file added fixture/gzip/codec.01/encoded.06.dat
Binary file not shown.
Binary file added fixture/gzip/codec.01/encoded.07.dat
Binary file not shown.
Binary file added fixture/gzip/codec.01/encoded.08.dat
Binary file not shown.
4 changes: 4 additions & 0 deletions fixture/gzip/codec.02/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"id": "gzip",
"level": 0
}
Binary file added fixture/gzip/codec.02/encoded.00.dat
Binary file not shown.
Binary file added fixture/gzip/codec.02/encoded.01.dat
Binary file not shown.
Binary file added fixture/gzip/codec.02/encoded.02.dat
Binary file not shown.
Binary file added fixture/gzip/codec.02/encoded.03.dat
Binary file not shown.
Binary file added fixture/gzip/codec.02/encoded.04.dat
Binary file not shown.
Binary file added fixture/gzip/codec.02/encoded.05.dat
Binary file not shown.
Binary file added fixture/gzip/codec.02/encoded.06.dat
Binary file not shown.
Binary file added fixture/gzip/codec.02/encoded.07.dat
Binary file not shown.
Binary file added fixture/gzip/codec.02/encoded.08.dat
Binary file not shown.
4 changes: 4 additions & 0 deletions fixture/gzip/codec.03/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"id": "gzip",
"level": 1
}
Binary file added fixture/gzip/codec.03/encoded.00.dat
Binary file not shown.
Binary file added fixture/gzip/codec.03/encoded.01.dat
Binary file not shown.
Binary file added fixture/gzip/codec.03/encoded.02.dat
Binary file not shown.
Binary file added fixture/gzip/codec.03/encoded.03.dat
Binary file not shown.
Binary file added fixture/gzip/codec.03/encoded.04.dat
Binary file not shown.
Binary file added fixture/gzip/codec.03/encoded.05.dat
Binary file not shown.
Binary file added fixture/gzip/codec.03/encoded.06.dat
Binary file not shown.
Binary file added fixture/gzip/codec.03/encoded.07.dat
Binary file not shown.
Binary file added fixture/gzip/codec.03/encoded.08.dat
Binary file not shown.
4 changes: 4 additions & 0 deletions fixture/gzip/codec.04/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"id": "gzip",
"level": 5
}
Binary file added fixture/gzip/codec.04/encoded.00.dat
Binary file not shown.
Binary file added fixture/gzip/codec.04/encoded.01.dat
Binary file not shown.
Binary file added fixture/gzip/codec.04/encoded.02.dat
Binary file not shown.
Binary file added fixture/gzip/codec.04/encoded.03.dat
Binary file not shown.
Binary file added fixture/gzip/codec.04/encoded.04.dat
Binary file not shown.
Binary file added fixture/gzip/codec.04/encoded.05.dat
Binary file not shown.
Binary file added fixture/gzip/codec.04/encoded.06.dat
Binary file not shown.
Binary file added fixture/gzip/codec.04/encoded.07.dat
Binary file not shown.
Binary file added fixture/gzip/codec.04/encoded.08.dat
Binary file not shown.
4 changes: 4 additions & 0 deletions fixture/gzip/codec.05/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"id": "gzip",
"level": 9
}
Binary file added fixture/gzip/codec.05/encoded.00.dat
Binary file not shown.
Binary file added fixture/gzip/codec.05/encoded.01.dat
Binary file not shown.
Binary file added fixture/gzip/codec.05/encoded.02.dat
Binary file not shown.
Binary file added fixture/gzip/codec.05/encoded.03.dat
Binary file not shown.
Binary file added fixture/gzip/codec.05/encoded.04.dat
Binary file not shown.
Binary file added fixture/gzip/codec.05/encoded.05.dat
Binary file not shown.
Binary file added fixture/gzip/codec.05/encoded.06.dat
Binary file not shown.
Binary file added fixture/gzip/codec.05/encoded.07.dat
Binary file not shown.
Binary file added fixture/gzip/codec.05/encoded.08.dat
Binary file not shown.
1 change: 0 additions & 1 deletion numcodecs/gzip.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,3 @@ def decode(self, buf, out=None):
# support direct decompression into buffer, so we have to copy into
# out if given
return buffer_copy(dec, out)

6 changes: 0 additions & 6 deletions numcodecs/tests/test_gzip.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,6 @@ def test_repr():
check_repr("GZip(level=3)")


def test_alias():
config = dict(id='gzip', level=1)
codec = get_codec(config)
assert GZip(1) == codec


def test_eq():
assert GZip() == GZip()
assert not GZip() != GZip()
Expand Down
6 changes: 0 additions & 6 deletions numcodecs/tests/test_zlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,6 @@ def test_repr():
check_repr("Zlib(level=3)")


def test_alias():
config = dict(id='zlib', level=1)
codec = get_codec(config)
assert Zlib(1) == codec


def test_eq():
assert Zlib() == Zlib()
assert not Zlib() != Zlib()
Expand Down