Fix logic error in Python/_warnings.c and add a test to verify
2 files changed