summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/echo2.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_asyncio/echo2.py')
-rw-r--r--Lib/test/test_asyncio/echo2.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/Lib/test/test_asyncio/echo2.py b/Lib/test/test_asyncio/echo2.py
new file mode 100644
index 0000000..e83ca09
--- /dev/null
+++ b/Lib/test/test_asyncio/echo2.py
@@ -0,0 +1,6 @@
+import os
+
+if __name__ == '__main__':
+ buf = os.read(0, 1024)
+ os.write(1, b'OUT:'+buf)
+ os.write(2, b'ERR:'+buf)