mirror of
https://github.com/micropython/micropython.git
synced 2025-09-05 17:30:41 +02: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))
|