The third argument of deprecation_warning is always optional

[ci skip]