This website requires JavaScript.
Explore
Help
Sign In
jebbatime
/
micropython
Watch
1
Star
0
Fork
You've already forked micropython
0
Code
Issues
Pull requests
Projects
Releases
Wiki
Activity
94873a4826
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 19:59:23 -06:00
<class 'OSError'> True
Reference in a new issue
Copy permalink