Bug 1360586: Removed unused maximized variable r=automatedtester
authorsqueaks <soliver14@wou.edu>
Tue, 09 May 2017 11:29:59 -0700
changeset 357376 1ee68d8541c8
parent 357375 6eeb4b1809da
child 357377 2e782ecaa298
push id31791
push usercbook@mozilla.com
push dateWed, 10 May 2017 13:06:37 +0000
treeherdermozilla-central@8ad533808102 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersautomatedtester
bugs1360586
milestone55.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1360586: Removed unused maximized variable r=automatedtester MozReview-Commit-ID: Bd11JNGuuhk
testing/marionette/harness/marionette_harness/tests/unit/test_window_maximize.py
--- a/testing/marionette/harness/marionette_harness/tests/unit/test_window_maximize.py
+++ b/testing/marionette/harness/marionette_harness/tests/unit/test_window_maximize.py
@@ -73,18 +73,16 @@ class TestWindowMaximize(MarionetteTestC
     def test_maximize_twice_restores(self):
         maximized = self.marionette.maximize_window()
         self.assert_window_maximized(maximized)
 
         restored = self.marionette.maximize_window()
         self.assert_window_restored(restored)
 
     def test_stress(self):
-        maximized = False
-
         for i in range(1, 25):
             expect_maximized = bool(i % 2)
 
             rect = self.marionette.maximize_window()
             if expect_maximized:
                 self.assert_window_maximized(rect)
             else:
                 self.assert_window_restored(rect)