Improved test for a deprecation warning.
1 file changed