Skip to content

Commit 87fe758

Browse files
committed
fix style
1 parent 8d05056 commit 87fe758

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

graalpython/lib-graalpython/java.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2019, 2021, Oracle and/or its affiliates. All rights reserved.
1+
# Copyright (c) 2019, 2022, Oracle and/or its affiliates. All rights reserved.
22
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
33
#
44
# The Universal Permissive License (UPL), Version 1.0

mx.graalpython/test_json_parsing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def test_pyperf_parsing_multi(self):
7575
self.assertIn(result["benchmark"], benchmarks)
7676
benchmarks_found.add(result["benchmark"])
7777
self.assertIn(result["metric.name"], ["time", "max-rss", "warmup"])
78-
self.assertIn(result["metric.unit"], ["B", "ms"])
78+
self.assertIn(result["metric.unit"], ["B", "ms", "s"])
7979
self.assertEqual(result["metric.score-function"], "id")
8080
self.assertEqual(result["metric.type"], "numeric")
8181
self.assertIsInstance(result["metric.value"], (float, int))
@@ -97,7 +97,7 @@ def test_pyperf_parsing_single(self):
9797
self.assertEqual(result["bench-suite"], "pyperformance")
9898
self.assertEqual(result["benchmark"], "deltablue")
9999
self.assertIn(result["metric.name"], ["time", "max-rss", "warmup"])
100-
self.assertIn(result["metric.unit"], ["B", "ms"])
100+
self.assertIn(result["metric.unit"], ["B", "ms", "s"])
101101
self.assertEqual(result["metric.score-function"], "id")
102102
self.assertEqual(result["metric.type"], "numeric")
103103
self.assertIsInstance(result["metric.value"], (float, int))

0 commit comments

Comments
 (0)