[ 
https://issues.apache.org/jira/browse/BEAM-14474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17542237#comment-17542237
 ] 

Yi Hu commented on BEAM-14474:
------------------------------

#17682 cleaned up part of the warnings. There are still lots of appearances. 
Leave this ticket open for future improvement

> Clean up/Fix runtime warning messages in python unit test standard error
> ------------------------------------------------------------------------
>
>                 Key: BEAM-14474
>                 URL: https://issues.apache.org/jira/browse/BEAM-14474
>             Project: Beam
>          Issue Type: Test
>          Components: sdk-py-core
>            Reporter: Yi Hu
>            Priority: P3
>          Time Spent: 1h 40m
>  Remaining Estimate: 0h
>
> Currently the log of python unit test results contains thousands of lines of 
> runtime warning / future warning / deprecation warnings, making trouble 
> shooting during development inconvenient. Most of the warning messages are 
> not necessary at all and could be suppressed or fixed if possible. 
> For example, the most popped message is hundreds of lines of 'RuntimeWarning: 
> Mean of empty slice
>     return np.nanmean(a, axis, out=out, keepdims=keepdims)' 
> raised in dataframe tests, which could be suppressed.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to