Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-14474

Clean up/Fix runtime warning messages in python unit test standard error

Details

    • Test
    • Status: Open
    • P3
    • Resolution: Unresolved
    • None
    • None
    • sdk-py-core
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yihu Yi Hu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 40m
                  1h 40m