This website requires JavaScript.
Explore
Help
Sign In
djsundog
/
circuitpython
Watch
1
Star
0
Fork
0
You've already forked circuitpython
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
220501e159
circuitpython
/
tests
/
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 21:59:23 -04:00
<class 'OSError'> True
Reference in New Issue
Copy Permalink