# test builtin print function, using file= argumenttry:importusysassysexceptImportError:importsystry: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")