Simplify testing the warning filename (GH-91868)
The context manager result has the "filename" attribute.
S
Serhiy Storchaka committed
090721721b373c50544d297b56c217cf15992cbe
Parent: b4e0484
Committed by GitHub <noreply@github.com>
on 4/24/2022, 7:23:59 AM