pyFlakes issues fixed. Simple refactoring

pull/399/head
Przemek Wirkus 2014-07-09 11:04:54 +01:00
parent 005ed7ec4a
commit 89ef186680
1 changed files with 1 additions and 4 deletions

View File

@ -15,15 +15,12 @@ See the License for the specific language governing permissions and
limitations under the License.
"""
from host_test import Test, DefaultTest
from host_test import DefaultTest
from sys import stdout
class HelloTest(DefaultTest):
HELLO_WORLD = "Hello World\n"
def print_result(self, result):
print "\n{%s}\n{end}" % result
def run(self):
c = self.mbed.serial.read(len(self.HELLO_WORLD))
stdout.write(c)