mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 04:30:24 +01:00
tests: Fix uctypes tests to run on 64bit arch; enable more native tests.
This commit is contained in:
5
tests/basics/bytes_gen.py
Normal file
5
tests/basics/bytes_gen.py
Normal file
@@ -0,0 +1,5 @@
|
||||
# construct a bytes object from a generator
|
||||
def gen():
|
||||
for i in range(4):
|
||||
yield i
|
||||
print(bytes(gen()))
|
||||
Reference in New Issue
Block a user