summaryrefslogtreecommitdiff
path: root/tests/wipy/wlan/wlan.py
diff options
context:
space:
mode:
authorDaniel Campora <daniel@wipy.io>2015-09-27 13:45:48 +0200
committerDaniel Campora <daniel@wipy.io>2015-09-27 16:50:27 +0200
commitc92e6a45ebba4d41c2d0d891e07f94a81d2f601f (patch)
treee861f7bfb70147d7a648cefc4c47c4b8e682f52d /tests/wipy/wlan/wlan.py
parent0a7e4fa5cee7dcb6ce060bef37d4eae5e6f06503 (diff)
cc3200: Rename pyb module to machine.
Diffstat (limited to 'tests/wipy/wlan/wlan.py')
-rw-r--r--tests/wipy/wlan/wlan.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/wipy/wlan/wlan.py b/tests/wipy/wlan/wlan.py
index d4f9b9fa9..8d2537511 100644
--- a/tests/wipy/wlan/wlan.py
+++ b/tests/wipy/wlan/wlan.py
@@ -6,10 +6,9 @@ from network import WLAN
import os
import time
import testconfig
-import pyb
-machine = os.uname().machine
-if not 'LaunchPad' in machine and not 'WiPy' in machine:
+mch = os.uname().machine
+if not 'LaunchPad' in mch and not 'WiPy' in mch:
raise Exception('Board not supported!')