diff options
Diffstat (limited to 'tests/extmod/select_poll_custom.py')
-rw-r--r-- | tests/extmod/select_poll_custom.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/extmod/select_poll_custom.py b/tests/extmod/select_poll_custom.py index b854a8a14..0d2ab07b2 100644 --- a/tests/extmod/select_poll_custom.py +++ b/tests/extmod/select_poll_custom.py @@ -1,13 +1,13 @@ # Test custom pollable objects implemented in Python. -from micropython import const - try: import socket, select, io except ImportError: print("SKIP") raise SystemExit +from micropython import const + _MP_STREAM_POLL = const(3) _MP_STREAM_GET_FILENO = const(10) |