summaryrefslogtreecommitdiff
path: root/tests/net_inet/tls_num_errors.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/net_inet/tls_num_errors.py')
-rw-r--r--tests/net_inet/tls_num_errors.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/net_inet/tls_num_errors.py b/tests/net_inet/tls_num_errors.py
index dd7f714e6..34aa2bb45 100644
--- a/tests/net_inet/tls_num_errors.py
+++ b/tests/net_inet/tls_num_errors.py
@@ -1,9 +1,7 @@
# test that modtls produces a numerical error message when out of heap
-try:
- import usocket as socket, ussl as ssl, sys
-except:
- import socket, ssl, sys
+import socket, ssl, sys
+
try:
from micropython import alloc_emergency_exception_buf, heap_lock, heap_unlock
except: