Exemplo n.º 1
0
    def testUnexpectedKey(self):
        with self.assertRaises(ValueError):
            rand(10, 10, chunks=5)

        with self.assertRaises(ValueError):
            randn(10, 10, chunks=5)
Exemplo n.º 2
0
def test_unexpected_key():
    with pytest.raises(ValueError):
        rand(10, 10, chunks=5)

    with pytest.raises(ValueError):
        randn(10, 10, chunks=5)