summaryrefslogtreecommitdiff
path: root/Lib/test/test_asyncio/echo2.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2013-12-14 20:42:22 +0200
committerSerhiy Storchaka <storchaka@gmail.com>2013-12-14 20:42:22 +0200
commit8ad7d762f53e094d9b88127b6cf09e38ea565e96 (patch)
tree6e2b04cdd658ad01c55640ed8cf8b52121f0e31d /Lib/test/test_asyncio/echo2.py
parent043c30ba7dfbd17596a59f6ac6afe508a2e04fbd (diff)
parenta566549211d48775b6573e74dc55dd0fcde0600b (diff)
downloadcpython-8ad7d762f53e094d9b88127b6cf09e38ea565e96.tar.gz
Issue #19623: Fixed writing to unseekable files in the aifc module.
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 0000000000..e83ca09fb7
--- /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)