mirror of
https://github.com/W3SLAV/micropython.git
synced 2025-06-20 12:35:34 -04:00

Tests which don't work with small ints are suffixed with _intbig.py. Some of these may still work with long long ints and need to be reclassified later.
10 lines
128 B
Python
10 lines
128 B
Python
# test builtin oct function
|
|
|
|
print(oct(1))
|
|
print(oct(-1))
|
|
print(oct(15))
|
|
print(oct(-15))
|
|
|
|
print(oct(12345))
|
|
print(oct(0o12345))
|