This website requires JavaScript.
Explore
Help
Register
Sign In
fengqi
/
lv_micropython
Watch
1
Star
0
Fork
0
You've already forked lv_micropython
Code
Issues
Pull Requests
1
Actions
Packages
Projects
Releases
Wiki
Activity
lv_micropython
/
tests
/
basics
/
io_bytesio_ext2.py.exp
2 lines
23 B
Plaintext
Raw
Normal View
History
Unescape
Escape
tests/io/bytesio_ext2: Remove dependency on specific EINVAL value If MICROPY_USE_INTERNAL_ERRNO is disabled, MP_EINVAL is not guaranteed to have the value 22, so we cannot depend on OSError(22,). Instead, to support any given port's errno values, without relying on uerrno, we just check that the args[0] is positive.
2018-04-30 20:59:23 -05:00
<class 'OSError'> True
Reference in New Issue
Copy Permalink