3688b8c Catch deprecation warnings in the unit tests (#infra)

1 file Authored by vponcova 2 years ago, Committed by jkonecny 2 years ago,
    Catch deprecation warnings in the unit tests (#infra)
    
    Don't propagate these warnings to the unit tests summary.
    
    (cherry picked from commit aa6ef21337af88e0d72bd19f1cb048914720d557)