#NEWLINE# def test_cuhello( self ) : #NEWLINE# #INDENT# jcuhello = cuda . jit ( 'void()' , debug = False ) ( cuhello ) #NEWLINE# with captured_cuda_stdout ( ) as stdout : #NEWLINE# #INDENT# jcuhello [ ( 2 , 3 ) ] ( ) #NEWLINE# #UNINDENT# out = stdout . getvalue ( ) #NEWLINE# expected = '' . join ( ( ( '%d 999\n' % i ) for i in range ( 6 ) ) ) #NEWLINE# self . assertEqual ( sorted ( out ) , sorted ( expected ) )