<s> '''<STR_LIT>''' <EOL> __docformat__ = '<STR_LIT>' <EOL> __version__ = '<STR_LIT>' <EOL> import unittest <EOL> from pyglet . gl import * <EOL> from pyglet import image <EOL> from pyglet import window <EOL> from pyglet . window import key <EOL> from os . path import join , dirname <EOL> icon_file = join ( dirname ( __file__ ) , '<STR_LIT>' ) <EOL> class WINDOW_SET_ICON ( unittest . TestCase ) : <EOL> def test_set_icon ( self ) : <EOL> self . width , self . height = <NUM_LIT:200> , <NUM_LIT:200> <EOL> self . w = w = window . Window ( self . width , self . height ) <EOL> w . set_icon ( image . load ( icon_file ) ) <EOL> glClearColor ( <NUM_LIT:1> , <NUM_LIT:1> , <NUM_LIT:1> , <NUM_LIT:1> ) <EOL> while not w . has_exit : <EOL> glClear ( GL_COLOR_BUFFER_BIT ) <EOL> w . dispatch_events ( ) <EOL> w . flip ( ) <EOL> w . close ( ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> unittest . main ( ) </s>
