def test_file_isatty(name):
    if not os.path.exists(name):
        return
    try:
        test_isatty(name, file(name))
    except __HOLE__, e:
        print e # XXX Jython prints 'no such file or directory' - probably
                # 'permission denied' but Java doesn't understand?
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/test/test_isatty.py/test_file_isatty