#NEWLINE# def test_is_true( ) : #NEWLINE# #INDENT# i = integer_scalar ( 1 ) #NEWLINE# z = integer_scalar ( 0 ) #NEWLINE# v = IsTrue ( ) #NEWLINE# assert v . validate ( i , None ) #NEWLINE# assert ( not v . validate ( v , None ) )