summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/echo3.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_asyncio/echo3.py')
-rw-r--r--Lib/test/test_asyncio/echo3.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/Lib/test/test_asyncio/echo3.py b/Lib/test/test_asyncio/echo3.py
deleted file mode 100644
index 0644967..0000000
--- a/Lib/test/test_asyncio/echo3.py
+++ /dev/null
@@ -1,11 +0,0 @@
-import os
-
-if __name__ == '__main__':
- while True:
- buf = os.read(0, 1024)
- if not buf:
- break
- try:
- os.write(1, b'OUT:'+buf)
- except OSError as ex:
- os.write(2, b'ERR:' + ex.__class__.__name__.encode('ascii'))