Ejemplo n.º 1
0
 def testNones(self, length, width):
     nones = Channel.nones(length, width)
     self.assertListEqual(nones, [(None, ) * width] * length)
Ejemplo n.º 2
0
def test_nones(length, width):
    assert Channel.nones(length, width) == [(None, ) * width] * length