attempt to fix CI (#455)

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