[1.7.x] Silenced test warning for deprecated IPAddressField.

Backport of 99cd80dc74 from master