#NEWLINE# def pytest_cmdline_main( config ) : #NEWLINE# #INDENT# if config . option . version : #NEWLINE# #INDENT# p = py . path . local ( pytest . __file__ ) #NEWLINE# sys . stderr . write ( ( 'This is pytest version %s, imported from %s\n' % ( pytest . __version__ , p ) ) ) #NEWLINE# plugininfo = getpluginversioninfo ( config ) #NEWLINE# if plugininfo : #NEWLINE# #INDENT# for line in plugininfo : #NEWLINE# #INDENT# sys . stderr . write ( ( line + '\n' ) ) #NEWLINE# #UNINDENT# #UNINDENT# return 0 #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if config . option . help : #NEWLINE# #INDENT# config . _do_configure ( ) #NEWLINE# showhelp ( config ) #NEWLINE# config . _ensure_unconfigure ( ) #NEWLINE# return 0