Bug 1324592 - Lint fix a=bustage
☠☠ backed out by 27fec05e14c9 ☠ ☠
authorWes Kocher <wkocher@mozilla.com>
Mon, 09 Jan 2017 17:03:20 -0800
changeset 350113 9a50a9d02d35491c28b60cca9ede974e7e4da200
parent 350112 c99f59251075d3877b54d3c486a3300719255fd1
child 350114 27fec05e14c908974d37eb9529e2abb6057c3057
push id10549
push userkwierso@gmail.com
push dateTue, 10 Jan 2017 01:03:25 +0000
treeherdermozilla-aurora@9a50a9d02d35 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs1324592
milestone52.0a2
Bug 1324592 - Lint fix a=bustage
testing/mochitest/runtests.py
--- a/testing/mochitest/runtests.py
+++ b/testing/mochitest/runtests.py
@@ -2219,17 +2219,16 @@ toolbar#nav-bar {
             # Leak checking was broken in mochitest unnoticed for a length of time. During
             # this time, several leaks slipped through. The leak checking was fixed by bug
             # 1325148, but it couldn't land until all the regressions were also fixed or
             # backed out. Rather than waiting and risking new regressions, in the meantime
             # this code will selectively disable leak checking on flavors/directories where
             # known regressions exist. At least this way we can prevent further damage while
             # they get fixed.
 
-            info = mozinfo.info
             skip_leak_conditions = [
                 (options.flavor in ('browser', 'chrome', 'plain') and d.startswith('toolkit/components/extensions/test/mochitest'), 'bug 1325158'),  # noqa
             ]
 
             for condition, reason in skip_leak_conditions:
                 if condition:
                     self.log.warning('WARNING | disabling leakcheck due to {}'.format(reason))
                     self.disable_leak_checking = True