mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-25 13:51:41 +00:00
Bug 1681096 - python3 - pylint --py3k - W1656: dict.values referenced when not iterating (dict-values-not-iterating) r=perftest-reviewers,jmaher,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D99057
This commit is contained in:
parent
c35f5ec5c8
commit
d841c6145f
@ -331,6 +331,7 @@ class ProfileSymbolicator:
|
||||
if lib["start"] not in libs_with_symbols:
|
||||
libs_with_symbols[lib["start"]] = {"library": lib, "symbols": set()}
|
||||
libs_with_symbols[lib["start"]]["symbols"].add(address)
|
||||
# pylint: disable=W1656
|
||||
return libs_with_symbols.values()
|
||||
|
||||
def _resolve_symbols(self, symbols_to_resolve):
|
||||
|
@ -582,7 +582,8 @@ class PerftestOutput(object):
|
||||
test["value"] = filters.mean(test["replicates"])
|
||||
vals.append([test["value"], name])
|
||||
|
||||
return _subtests.values(), sorted(vals, reverse=True)
|
||||
# pylint W1656
|
||||
return list(_subtests.values()), sorted(vals, reverse=True)
|
||||
|
||||
def parseYoutubePlaybackPerformanceOutput(self, test):
|
||||
"""Parse the metrics for the Youtube playback performance test.
|
||||
|
Loading…
Reference in New Issue
Block a user