Skip to content
Snippets Groups Projects
Commit 189f9c6b authored by Sebastian Müller's avatar Sebastian Müller 🐈
Browse files

tests: fix _check_shape test

parent 7068f9f7
No related branches found
No related tags found
1 merge request!260Masked array support
Pipeline #188279 passed with stages
in 5 minutes and 40 seconds
......@@ -261,10 +261,10 @@ class TestDataTools(unittest.TestCase):
finam.Info(time, grid=finam.NoGrid()),
)
finam.data.tools._check_shape(xdata, finam.NoGrid())
finam.data.tools._check_shape(xdata.shape[1:], finam.NoGrid())
with self.assertRaises(finam.errors.FinamDataError):
finam.data.tools._check_shape(xdata, finam.NoGrid(dim=1))
finam.data.tools._check_shape(xdata.shape[1:], finam.NoGrid(dim=1))
def test_quantify(self):
xdata = np.asarray([1.0])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment