summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/bytes.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basics/bytes.py')
-rw-r--r--tests/basics/bytes.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/basics/bytes.py b/tests/basics/bytes.py
index ce027e7d19..8f29175506 100644
--- a/tests/basics/bytes.py
+++ b/tests/basics/bytes.py
@@ -33,11 +33,6 @@ print(bytes(3))
print(bytes([3, 2, 1]))
print(bytes(range(5)))
-def gen():
- for i in range(4):
- yield i
-print(bytes(gen()))
-
# Make sure bytes are not mistreated as unicode
x = b"\xff\x8e\xfe}\xfd\x7f"
print(len(x))