def NamedTemporaryFile23(*args, **kwargs):
    if sys.version_info[0] == 2:  # Python 2
        kwargs.pop('encoding', None)
    return NamedTemporaryFile(*args, **kwargs)
The MX record with the lowest preference is returned by
dataset/ETHPy150Open machinalis/iepy/tests/factories.py/NamedTemporaryFile23--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/mail/test/test_mail.py/MXTestCase.test_mailExchangePreference