chore: fix pylint (#31138)
* chore: fix pylint * chore: fix linter errors
This commit is contained in:
parent
22d683e3f8
commit
2d111a4e25
6 changed files with 24 additions and 10 deletions
|
@ -48,7 +48,8 @@ def main():
|
|||
# FIXME: Enable after ELECTRON_ENABLE_LOGGING works again
|
||||
# env['ELECTRON_ENABLE_LOGGING'] = 'true'
|
||||
testargs = [electron, test_path]
|
||||
if sys.platform != 'linux' and (platform.machine() == 'ARM64' or os.environ.get('TARGET_ARCH') == 'arm64'):
|
||||
if sys.platform != 'linux' and (platform.machine() == 'ARM64' or
|
||||
os.environ.get('TARGET_ARCH') == 'arm64'):
|
||||
testargs.append('--disable-accelerated-video-decode')
|
||||
subprocess.check_call(testargs, env=env)
|
||||
except subprocess.CalledProcessError as e:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue