pyFlakes issues fixed. Simple refactoring

pull/399/head
Przemek Wirkus 2014-07-09 11:01:09 +01:00
parent 0ca9a48b63
commit 005ed7ec4a
1 changed files with 1 additions and 6 deletions

View File

@ -15,16 +15,11 @@ 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 DevNullTest(DefaultTest):
def print_result(self, result):
print "\n{%s}\n{end}" % result
def run(self):
test_result = True
c = self.mbed.serial.read(512)
print "Received %d bytes" % len(c)
if "{failure}" not in c: