def test_other_newlines(self):
    compile('\r\n', '<test>', 'exec')
    compile('\r', '<test>', 'exec')
    compile('hi\r\nstuff\r\ndef f():\n    pass\r', '<test>', 'exec')
    compile('this_is\rreally_old_mac\rdef f():\n    pass', '<test>', 'exec')
def test_other_newlines(self):
    compile('\r\n', '<test>', 'exec')
    compile('\r', '<test>', 'exec')
    compile('hi\r\nstuff\r\ndef f():\n    pass\r', '<test>', 'exec')
    compile('this_is\rreally_old_mac\rdef f():\n    pass', '<test>', 'exec')