# test builtin print function, using file= argumentimportsystry:sys.stdoutexceptAttributeError:print('SKIP')raiseSystemExitprint(file=sys.stdout)print('test',file=sys.stdout)try:print(file=1)except(AttributeError,OSError):# CPython and uPy differ in error messageprint('Error')