#NEWLINE# def test__UPTIME( self ) : #NEWLINE# #INDENT# w = wmi . WMI ( ) . Win32_Process ( ProcessId = self . pid ) [ 0 ] #NEWLINE# p = psutil . Process ( 0 ) #NEWLINE# wmic_create = str ( w . CreationDate . split ( '.' ) [ 0 ] ) #NEWLINE# psutil_create = time . strftime ( '%Y%m%d%H%M%S' , time . localtime ( p . create_time ) )