#NEWLINE# def test_bunk__package__( self ) : #NEWLINE# #INDENT# globals = { #NEWLINE# #INDENT# '__package__' : 42 , #NEWLINE# #UNINDENT# } #NEWLINE# with self . assertRaises ( TypeError ) : #NEWLINE# #INDENT# import_util . import_ ( '' , self , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } , [ 'relimport' ] , 1 )