summaryrefslogtreecommitdiffstatshomepage
path: root/tests/io/bytesio_ext.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/io/bytesio_ext.py')
-rw-r--r--tests/io/bytesio_ext.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/io/bytesio_ext.py b/tests/io/bytesio_ext.py
index e827d1409c..e454b2fd9f 100644
--- a/tests/io/bytesio_ext.py
+++ b/tests/io/bytesio_ext.py
@@ -4,6 +4,10 @@ try:
except ImportError:
import io
+a = io.BytesIO(b"foobar")
+a.seek(10)
+print(a.read(10))
+
a = io.BytesIO()
print(a.seek(8))
a.write(b"123")