[AI Codemod][DevmateFBSourceTestFailureBot] Fix for T243177299 ("Your diff, D85182174, broke some tests") (#166753)

Summary:
As per title, a bot created this diff because this test broke due to [a different PR.](https://github.com/pytorch/pytorch/pull/166026)

<Erased bot summary in case anything we don't want to make external.>

Test Plan:
Bot ran the tests and they passed.

<Erased bot test plan in case anything we don't want to make external.>

Differential Revision: D85745809

Pull Request resolved: https://github.com/pytorch/pytorch/pull/166753
Approved by: https://github.com/d4l3k
This commit is contained in:
Paul de Supinski 2025-10-31 22:49:56 +00:00 committed by PyTorch MergeBot
parent 9261a1fb12
commit fd5da81fdd

View File

@ -800,6 +800,7 @@ if not (TEST_WITH_DEV_DBG_ASAN or IS_WINDOWS or IS_MACOS or IS_CI):
stderr_redirects={0: stderr_redir}, stderr_redirects={0: stderr_redir},
ret_vals={0: queue}, ret_vals={0: queue},
queue_finished_reading_event=worker_finished_event_mock, queue_finished_reading_event=worker_finished_event_mock,
numa_options=None,
) )
self.assertEqual("hello_0", queue.get()) self.assertEqual("hello_0", queue.get())
if stdout_redir: if stdout_redir: