Bug 1529806 [wpt PR 15489] - [wptrunner] Remove superfluous statement, a=testonly
☠☠ backed out by 66b1aba3fb43 ☠ ☠
authorjugglinmike <mike@mikepennisi.com>
Wed, 06 Mar 2019 12:33:15 +0000
changeset 522255 32f87ee369cbed088682b0aa4aa898a0ad69056d
parent 522254 1c117fbc850f5087230d366b55ef7c5c0be4509d
child 522256 1a3fb0f644aea7c0eb7a5af208e05378f0ab52b3
push id10871
push usercbrindusan@mozilla.com
push dateMon, 18 Mar 2019 15:49:32 +0000
treeherdermozilla-beta@018abdd16060 [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):