@skip('silverlight')
def test_cp7050():
 try:
  import Nt
  AssertUnreachable("Should not have been able to import 'Nt'")
 except:
  pass
 AssertError(ImportError, __import__, 'Nt')
 AssertError(ImportError, __import__, 'Lib')
 AssertError(ImportError, __import__, 'iptest.Assert_Util')

@ skip ( 'silverlight' ) def test_cp7050 ( ) : try : import Nt AssertUnreachable ( "Should not have been able to import 'Nt'" ) except : pass AssertError ( ImportError , __import__ , 'Nt' ) AssertError ( ImportError , __import__ , 'Lib' ) AssertError ( ImportError , __import__ , 'iptest.Assert_Util' )
this test case complements cpythons test_import .