Skip to content

Commit

Permalink
Merge pull request #189 from mattjala/expect_scaleoffset_pass
Browse files Browse the repository at this point in the history
Expect scaleoffset tests to pass
  • Loading branch information
mattjala authored Apr 29, 2024
2 parents fffac0b + 404aa49 commit b295fbe
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions test/hl/test_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -735,10 +735,8 @@ 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

scalefac = 4
shape = (100, 300)
Expand Down Expand Up @@ -767,7 +765,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 +786,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 +806,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

0 comments on commit b295fbe

Please sign in to comment.