aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2023-02-01 17:42:43 +0100
committerMartin Robinson <mrobinson@igalia.com>2023-02-04 15:03:44 +0100
commit3543fd27f0c3ee921e78835ffc50e08e0ca8f2ac (patch)
treeee13aeaf6e13ee39160cea4975fed653a527a43e /python
parent69b272b4e130e9c488d2e4619027a5e2d4a4bd5d (diff)
downloadservo-3543fd27f0c3ee921e78835ffc50e08e0ca8f2ac.tar.gz
servo-3543fd27f0c3ee921e78835ffc50e08e0ca8f2ac.zip
wpt: Make WPT result formatting logic independent of ServoHandler
This will allow results to be formatted by other parts of the code (such as the intermittent filtering) code. Previously, formatting was handled in ServoHandler, which was a bit strange as it's really only necessary for GroupingFormatter and the intermittent filtering code. This also allows the results to be properly typed by the Python typing system.
Diffstat (limited to 'python')
-rw-r--r--python/requirements.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/requirements.txt b/python/requirements.txt
index beefe1a205b..b58140060e3 100644
--- a/python/requirements.txt
+++ b/python/requirements.txt
@@ -8,6 +8,7 @@ mozinfo == 1.2.1
mozlog == 7.1.0
setuptools == 65.5.1
toml == 0.9.2
+dataclasses == 0.8; python_version < "3.7"
# For Python linting
flake8 == 3.8.3