We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 980003e commit a02bff9Copy full SHA for a02bff9
pyperf/tests/test_perf_cli.py
@@ -628,16 +628,16 @@ def test_slowest(self):
628
629
def test_check_stable(self):
630
stdout = self.run_command('check', TELCO)
631
- self.assertTrue(
+ self.assertIn(
632
textwrap.dedent(
633
"""
634
Benchmark was run more times than necessary to get a stable result.
635
Consider passing processes=7 to the Runner constructor to save time.
636
637
- ).strip() in stdout.rstrip()
+ ).strip(), stdout.rstrip()
638
)
639
640
- 'The benchmark seems to be stable' in
+ 'The benchmark seems to be stable',
641
stdout.rstrip()
642
643
0 commit comments