aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/tools/third_party/pytest/bench/bench.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/wpt/web-platform-tests/tools/third_party/pytest/bench/bench.py')
-rw-r--r--tests/wpt/web-platform-tests/tools/third_party/pytest/bench/bench.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/wpt/web-platform-tests/tools/third_party/pytest/bench/bench.py b/tests/wpt/web-platform-tests/tools/third_party/pytest/bench/bench.py
index 468ef521957..c40fc8636c0 100644
--- a/tests/wpt/web-platform-tests/tools/third_party/pytest/bench/bench.py
+++ b/tests/wpt/web-platform-tests/tools/third_party/pytest/bench/bench.py
@@ -1,4 +1,3 @@
-# -*- coding: utf-8 -*-
import sys
if __name__ == "__main__":
@@ -7,7 +6,7 @@ if __name__ == "__main__":
import pstats
script = sys.argv[1:] if len(sys.argv) > 1 else ["empty.py"]
- stats = cProfile.run("pytest.cmdline.main(%r)" % script, "prof")
+ cProfile.run("pytest.cmdline.main(%r)" % script, "prof")
p = pstats.Stats("prof")
p.strip_dirs()
p.sort_stats("cumulative")