Skip to content

Commit e43199e

Browse files
committed
remove redunant condition as its no-op
1 parent 057d0f6 commit e43199e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/libregrtest/run_workers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ def run(self) -> None:
424424
finally:
425425
self.test_name = _NOT_RUNNING
426426
mp_result.result.duration = time.monotonic() - self.start_time
427-
if single_process_per_case and test_name != module_name:
427+
if single_process_per_case:
428428
# Report the test case, not the test module
429429
mp_result.result.test_name = test_name
430430
self.output.put((False, mp_result))

0 commit comments

Comments
 (0)