diff options
author | Dave Hylands <dhylands@gmail.com> | 2014-08-26 12:44:46 -0700 |
---|---|---|
committer | Dave Hylands <dhylands@gmail.com> | 2014-08-26 19:15:04 -0700 |
commit | b7f7c655ed4b54d9ff8ec04908199d04d38b7528 (patch) | |
tree | 51ae6e56729cf3b5a5e37a8d3ac0e753800cb4ef /tests/basics | |
parent | db63660c19c9080d040ad48a5fb2a2ab233b7ede (diff) | |
download | micropython-b7f7c655ed4b54d9ff8ec04908199d04d38b7528.tar.gz micropython-b7f7c655ed4b54d9ff8ec04908199d04d38b7528.zip |
Make int(b'123') work properly.
Diffstat (limited to 'tests/basics')
-rw-r--r-- | tests/basics/int1.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/basics/int1.py b/tests/basics/int1.py index e8a0a04683..01e0b0b407 100644 --- a/tests/basics/int1.py +++ b/tests/basics/int1.py @@ -47,6 +47,7 @@ print(int('0100', 2)) print(int(' \t 0o12', 8)) print(int('0o12 \t ', 8)) print(int(b"12", 10)) +print(int(b"12")) def test(value, base): |