Silenced a Python 2 ImportWarning in a migrations test.