mirror of https://github.com/ARMmbed/mbed-os.git
Removed few minor pyFlakes warnings
parent
50966fdf89
commit
12a9051aba
|
@ -66,9 +66,7 @@ if not check_required_modules(['prettytable', 'serial']):
|
|||
from workspace_tools.build_api import mcu_toolchain_matrix
|
||||
|
||||
# Imports from TEST API
|
||||
from workspace_tools.test_api import BaseDBAccess
|
||||
from workspace_tools.test_api import SingleTestRunner
|
||||
from workspace_tools.test_api import factory_db_logger
|
||||
from workspace_tools.test_api import singletest_in_cli_mode
|
||||
from workspace_tools.test_api import detect_database_verbose
|
||||
from workspace_tools.test_api import get_json_data_from_file
|
||||
|
|
|
@ -1353,7 +1353,7 @@ def mps2_set_board_image_file(disk, images_cfg_path, image0file_path, image_name
|
|||
with open(image_path, 'w') as file:
|
||||
for line in new_file_lines:
|
||||
file.write(line),
|
||||
except IOError as e:
|
||||
except IOError:
|
||||
return False
|
||||
|
||||
return True
|
||||
|
|
|
@ -202,7 +202,6 @@ class ReportExporter():
|
|||
test_suites = []
|
||||
test_cases = []
|
||||
|
||||
unique_test_ids = self.get_all_unique_test_ids(test_result_ext)
|
||||
toolchains = sorted(test_result_ext.keys())
|
||||
for toolchain in toolchains:
|
||||
targets = sorted(test_result_ext[toolchain].keys())
|
||||
|
|
Loading…
Reference in New Issue