def test_ipy_dash_c():
 ipi = IronPythonInstance(executable, exec_prefix, '-c True;False')
 res = ipi.StartAndRunToCompletion()
 AreEqual(res[0], True)
 AreEqual(res[1], '')
 AreEqual(res[2], '')
 AreEqual(res[3], 0)

def test_ipy_dash_c ( ) : ipi = IronPythonInstance ( executable , exec_prefix , '-c True;False' ) res = ipi . StartAndRunToCompletion ( ) AreEqual ( res [ 0 ] , True ) AreEqual ( res [ 1 ] , '' ) AreEqual ( res [ 2 ] , '' ) AreEqual ( res [ 3 ] , 0 )
verify ipy -c cmd doesnt print expression statements .