ueshin opened a new pull request, #54020: URL: https://github.com/apache/spark/pull/54020
### What changes were proposed in this pull request? Tries to use a real module name in the test failure report instead of `__main__`. ### Why are the changes needed? In the test failure report, it uses `__main__` as a module name after apache/spark#53683. ``` ====================================================================== FAIL [0.309s]: test_apply_batch_with_type (__main__.FrameApplyFunctionTests.test_apply_batch_with_type) ---------------------------------------------------------------------- ``` It should be a real module name as before. ``` ====================================================================== FAIL [0.322s]: test_apply_batch_with_type (pyspark.pandas.tests.computation.test_apply_func.FrameApplyFunctionTests.test_apply_batch_with_type) ---------------------------------------------------------------------- ``` ### Does this PR introduce _any_ user-facing change? Yes, the test failure report will show a real module name. ### How was this patch tested? Manually. ### Was this patch authored or co-authored using generative AI tooling? Cursor -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
