Merge branch 'fix/flake8_v5_warnings' into 'master'

Tools: Fix flake8 version 5 warnings

See merge request espressif/esp-idf!19488
This commit is contained in:
Roland Dobai
2022-08-12 23:27:14 +08:00
15 changed files with 39 additions and 39 deletions

View File

@@ -216,7 +216,7 @@ class IDFDUT(DUT.SerialDUT):
if expected_rom_class and type(inst) != expected_rom_class:
raise RuntimeError('Target not expected')
return inst.read_mac() is not None, get_target_by_rom_class(type(inst))
except(FatalError, RuntimeError):
except (FatalError, RuntimeError):
return False, None
finally:
if inst is not None: