#NEWLINE# def __init__( self ) : #NEWLINE# #INDENT# '! ctor\n        @details We can check module version by referring to version attribute\n        import pkg_resources\n        print pkg_resources.require("mbed-host-tests")[0].version\n        \'2.7\'\n        ' #NEWLINE# self . re_float = re . compile ( '^\\d+\\.\\d+' ) #NEWLINE# pyserial_version = pkg_resources . require ( 'pyserial' ) [ 0 ] . version #NEWLINE# self . pyserial_version = self . get_pyserial_version ( self ) #NEWLINE# self . is_pyserial_v3 = ( float ( self . pyserial_version ) >= 3.0 )