This method doesn't accept a third argument and the `expect_warning_with_call_site` which does take a third argument isn't in this branch.