Skip to content

Commit

Permalink
zip(strict=True)
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss committed Jan 22, 2025
1 parent c74538c commit 5e5f69b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tools/gbench/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,7 @@ def test_json_diff_report_output(self):
]
self.assertEqual(len(self.json_diff_report), len(expected_output))
for out, expected in zip(
self.json_diff_report, expected_output, strict=False
self.json_diff_report, expected_output, strict=True
):
self.assertEqual(out["name"], expected["name"])
self.assertEqual(out["label"], expected["label"])
Expand Down Expand Up @@ -944,7 +944,7 @@ def test_json_diff_report(self):
]
self.assertEqual(len(self.json_diff_report), len(expected_output))
for out, expected in zip(
self.json_diff_report, expected_output, strict=False
self.json_diff_report, expected_output, strict=True
):
self.assertEqual(out["name"], expected["name"])
self.assertEqual(out["time_unit"], expected["time_unit"])
Expand Down Expand Up @@ -1189,7 +1189,7 @@ def test_json_diff_report(self):
]
self.assertEqual(len(self.json_diff_report), len(expected_output))
for out, expected in zip(
self.json_diff_report, expected_output, strict=False
self.json_diff_report, expected_output, strict=True
):
self.assertEqual(out["name"], expected["name"])
self.assertEqual(out["time_unit"], expected["time_unit"])
Expand Down Expand Up @@ -1381,7 +1381,7 @@ def test_json_diff_report(self):
]
self.assertEqual(len(self.json_diff_report), len(expected_output))
for out, expected in zip(
self.json_diff_report, expected_output, strict=False
self.json_diff_report, expected_output, strict=True
):
self.assertEqual(out["name"], expected["name"])
self.assertEqual(out["time_unit"], expected["time_unit"])
Expand Down Expand Up @@ -1442,7 +1442,7 @@ def test_json_diff_report(self):
]
self.assertEqual(len(self.json_diff_report), len(expected_output))
for out, expected in zip(
self.json_diff_report, expected_output, strict=False
self.json_diff_report, expected_output, strict=True
):
self.assertEqual(out["name"], expected["name"])
self.assertEqual(out["time_unit"], expected["time_unit"])
Expand Down Expand Up @@ -1491,7 +1491,7 @@ def test_json_diff_report_pretty_printing(self):
]
self.assertEqual(len(expected_names), len(sorted_benchmarks))
for out, expected in zip(
sorted_benchmarks, expected_names, strict=False
sorted_benchmarks, expected_names, strict=True
):
self.assertEqual(out["name"], expected)

Expand Down Expand Up @@ -1585,7 +1585,7 @@ def test_json_diff_report(self):
]
self.assertEqual(len(self.json_diff_report), len(expected_output))
for out, expected in zip(
self.json_diff_report, expected_output, strict=False
self.json_diff_report, expected_output, strict=True
):
self.assertEqual(out["name"], expected["name"])
self.assertEqual(out["time_unit"], expected["time_unit"])
Expand Down

0 comments on commit 5e5f69b

Please sign in to comment.