def testUnexpectedKey(self): with self.assertRaises(ValueError): rand(10, 10, chunks=5) with self.assertRaises(ValueError): randn(10, 10, chunks=5)
def test_unexpected_key(): with pytest.raises(ValueError): rand(10, 10, chunks=5) with pytest.raises(ValueError): randn(10, 10, chunks=5)