def test_ipy_dash_S():
 ipi = IronPythonInstance(executable, exec_prefix, (extraArgs + ' -S'))
 AreEqual(ipi.Start(), True)
 response = ipi.ExecuteLine('import sys')
 response = ipi.ExecuteLine('print sys.path')
 Assert((response.find('Lib') != (-1)))

def test_ipy_dash_S ( ) : ipi = IronPythonInstance ( executable , exec_prefix , ( extraArgs + ' -S' ) ) AreEqual ( ipi . Start ( ) , True ) response = ipi . ExecuteLine ( 'import sys' ) response = ipi . ExecuteLine ( 'print sys.path' ) Assert ( ( response . find ( 'Lib' ) != ( - 1 ) ) )
ipy -s should still install lib into sys .