示例#1
0
 def test_bad_y_list(self):
     with pytest.raises(ValueError,
                        match="There is a problem with your y_list"):
         _get_chunk_size([0, 2], [0, 2, 5])
示例#2
0
 def test_bad_y_list(self):
     _get_chunk_size([0, 2], [0, 2, 5])
示例#3
0
 def test_two_chunksizes(self):
     with pytest.raises(
             ValueError,
             match="x_list and y_list need to have the same chunksize"):
         _get_chunk_size([0, 10], [0, 5])
示例#4
0
 def test_two_chunksizes(self):
     _get_chunk_size([0, 10], [0, 5])