Bug 1529806 [wpt PR 15489] - [wptrunner] Remove superfluous statement, a=testonly
authorjugglinmike <mike@mikepennisi.com>
Wed, 06 Mar 2019 12:33:15 +0000
changeset 464637 f1ad8d503cedca4685d7d4be12755bb1b20ff3e4
parent 464636 90af2280bc2338a6cd048518d39802d9d6619aec
child 464638 48aba45c55341d1a6e33d8f8c2d2f61911f5beae
push id35717
push useraciure@mozilla.com
push dateSun, 17 Mar 2019 09:45:26 +0000
treeherdermozilla-central@e0861be8d6c0 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1529806, 15489
milestone67.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 1529806 [wpt PR 15489] - [wptrunner] Remove superfluous statement, a=testonly Automatic update from web-platform-tests [wptrunner] Remove superfluous statement (#15489) -- wpt-commits: 37e794f69091ffed1dfa7399a3ef154125fddda9 wpt-pr: 15489
testing/web-platform/tests/tools/wptrunner/wptrunner/testrunner.py
testing/web-platform/tests/tools/wptserve/wptserve/request.py
--- a/testing/web-platform/tests/tools/wptrunner/wptrunner/testrunner.py
+++ b/testing/web-platform/tests/tools/wptrunner/wptrunner/testrunner.py
@@ -632,17 +632,16 @@ class TestRunnerManager(threading.Thread
         if self.run_count == self.rerun:
             test, test_group, group_metadata = self.get_next_test()
             if test is None:
                 return RunnerManagerState.stop()
             if test_group != self.state.test_group:
                 # We are starting a new group of tests, so force a restart
                 restart = True
         else:
-            test = test
             test_group = self.state.test_group
             group_metadata = self.state.group_metadata
         if restart:
             return RunnerManagerState.restarting(test, test_group, group_metadata)
         else:
             return RunnerManagerState.running(test, test_group, group_metadata)
 
     def restart_runner(self):
--- a/testing/web-platform/tests/tools/wptserve/wptserve/request.py
+++ b/testing/web-platform/tests/tools/wptserve/wptserve/request.py
@@ -588,19 +588,17 @@ class MultiDict(dict):
         if fs.list is None:
             return self
         for key in fs:
             values = fs[key]
             if not isinstance(values, list):
                 values = [values]
 
             for value in values:
-                if value.filename:
-                    value = value
-                else:
+                if not value.filename:
                     value = value.value
                 self.add(key, value)
         return self
 
 
 class Cookies(MultiDict):
     """MultiDict specialised for Cookie values"""
     def __init__(self):