From 89ef1866807022aa654d04b66f80488a80b45d29 Mon Sep 17 00:00:00 2001 From: Przemek Wirkus Date: Wed, 9 Jul 2014 11:04:54 +0100 Subject: [PATCH] pyFlakes issues fixed. Simple refactoring --- workspace_tools/host_tests/hello_auto.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/workspace_tools/host_tests/hello_auto.py b/workspace_tools/host_tests/hello_auto.py index 3381a1b896..b4f2bd3e09 100644 --- a/workspace_tools/host_tests/hello_auto.py +++ b/workspace_tools/host_tests/hello_auto.py @@ -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)