def ans(self): data = SeqIO.load_folder("testUpgrade/").sum() return data.data
def test_load_upgrade(self, ans, lazy, shape): data = SeqIO.load_folder("testUpgrade/", nav_shape=shape, lazy=lazy) numpy.testing.assert_array_almost_equal(data.sum().data, ans)