summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/io_bytesio_ext.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basics/io_bytesio_ext.py')
-rw-r--r--tests/basics/io_bytesio_ext.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/basics/io_bytesio_ext.py b/tests/basics/io_bytesio_ext.py
index e454b2fd9f..4d4c60c136 100644
--- a/tests/basics/io_bytesio_ext.py
+++ b/tests/basics/io_bytesio_ext.py
@@ -1,9 +1,5 @@
# Extended stream operations on io.BytesIO
-try:
- import uio as io
-except ImportError:
- import io
-
+import io
a = io.BytesIO(b"foobar")
a.seek(10)
print(a.read(10))