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