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

        with self.assertRaises(ValueError):
            randn(10, 10, chunks=5)
Esempio 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)