use the ``assert_produces_warning`` here to assert that you are actually showing the warning