Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expect scaleoffset tests to pass #189

Merged
merged 2 commits into from
Apr 29, 2024
Merged
Changes from 1 commit
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
4 changes: 0 additions & 4 deletions test/hl/test_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,6 @@ def test_unsupport_dtype(self):
with self.assertRaises(TypeError):
self.f.create_dataset('foo', (20, 30), dtype=bool, scaleoffset=True)

@ut.expectedFailure
def test_float(self):
""" Scaleoffset filter works for floating point data """
# TBD: Add support for scale offset filter
Expand Down Expand Up @@ -767,7 +766,6 @@ def test_float(self):
else:
assert not (readdata == testdata).all()

@ut.expectedFailure
def test_int(self):
""" Scaleoffset filter works for integer data with default precision """

Expand All @@ -789,7 +787,6 @@ def test_int(self):
readdata = self.f['foo'][...]
self.assertArrayEqual(readdata, testdata)

@ut.expectedFailure
def test_int_with_minbits(self):
""" Scaleoffset filter works for integer data with specified precision """

Expand All @@ -810,7 +807,6 @@ def test_int_with_minbits(self):
readdata = self.f['foo'][...]
self.assertArrayEqual(readdata, testdata)

@ut.expectedFailure
def test_int_with_minbits_lossy(self):
""" Scaleoffset filter works for integer data with specified precision """

Expand Down