Bug 1360586: Removed unused maximized variable draft
authorsqueaks <soliver14@wou.edu>
Tue, 09 May 2017 11:29:59 -0700
changeset 575059 f518bb091c46
parent 571941 d7e40bb852ea
child 627789 c7ed05ef052a
push id57918
push userbmo:soliver14@wou.edu
push dateTue, 09 May 2017 19:07:35 +0000
bugs1360586
milestone55.0a1
Bug 1360586: Removed unused maximized variable 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)