

def _check_output(result, expected):
    checker = OutputChecker()
    actual = str(result)
    if (sys.platform == 'win32'):
        actual = actual.replace('initools', 'INITools')
    actual = distribute_re.sub('', actual)

    def banner(msg):
        return ('\n========== %s ==========\n' % msg)
    assert checker.check_output(expected, actual, ELLIPSIS), ((((banner('EXPECTED') + expected) + banner('ACTUAL')) + actual) + banner((6 * '=')))

dataset/ETHPy150Open pypa/pip/tests/functional/test_freeze.py _check_output/original