How could I filter specific warnings after the execution of a pytest in the following scenario?
This is my code: