I found `assert_warns` now, but how is it supposed to be used?