shouldn't this be an ``assert_warns``?