Bug 1324592 - Remove unnecessary assignment to fix flake8 error. a=test-only
authorRyan VanderMeulen <ryanvm@gmail.com>
Tue, 10 Jan 2017 16:12:25 -0500
changeset 353494 9572fd32f33d6356518b05da170e9b54a7f60c4f
parent 353493 d173a8f450cfb713f2f076d5571b723a3e9637f5
child 353495 44bd0aff9b6974277cc78299e3d4b86527bd3a5c
push id6795
push userjlund@mozilla.com
push dateMon, 23 Jan 2017 14:19:46 +0000
treeherdermozilla-esr52@76101b503191 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstest-only
bugs1324592
milestone52.0a2
Bug 1324592 - Remove unnecessary assignment to fix flake8 error. a=test-only
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