attempt to fix CI

use pytest's -W error flag instead of Python's so that warnings from python about pytest itself don't fail CI
1 file changed