示例#1
0
 def test_any(self):
     l = [0, 0, 1]
     expr = sn.any(l)
     l[2] = 0
     self.assertFalse(expr)
示例#2
0
def test_any():
    l = [0, 0, 1]
    expr = sn.any(l)
    l[2] = 0
    assert not expr