Skip to content

Commit 0af647c

Browse files
committed
.
1 parent db38449 commit 0af647c

File tree

1 file changed

+2
-2
lines changed
  • Lib/test/test_profiling/test_sampling_profiler

1 file changed

+2
-2
lines changed

Lib/test/test_profiling/test_sampling_profiler/test_cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -756,7 +756,7 @@ def test_run_failed_module_live(self):
756756
mock.patch(
757757
'profiling.sampling.live_collector.collector.LiveStatsCollector.init_curses',
758758
autospec=True,
759-
side_effect=functools.partial(self.mock_init_curses_side_effect, 750)
759+
side_effect=functools.partial(self.mock_init_curses_side_effect, 1000)
760760
),
761761
mock.patch('curses.wrapper', side_effect=self.mock_curses_wrapper),
762762
mock.patch("sys.argv", args),
@@ -795,4 +795,4 @@ def test_run_failed_script_live(self):
795795
self.assertEndsWith(
796796
stderr,
797797
'ZeroDivisionError\x1b[0m: \x1b[35mdivision by zero\x1b[0m\n\n'
798-
)
798+
)

0 commit comments

Comments
 (0)