diff --git a/boards/uniboard1/designs/unb1_test/tb/python/tc_unb1_test.py b/boards/uniboard1/designs/unb1_test/tb/python/tc_unb1_test.py
index f4c46d946a399c8f53cb4f21ae460c33999c0e2f..09a3c5c6debf9cc9b29b5c58793b838d1e46a1ca 100644
--- a/boards/uniboard1/designs/unb1_test/tb/python/tc_unb1_test.py
+++ b/boards/uniboard1/designs/unb1_test/tb/python/tc_unb1_test.py
@@ -439,7 +439,7 @@ def test_flash(tc,io,cmd):
     tc.append_log(3, '')
 
 
-def led(tc,dw,led,text):
+def set_led(tc,dw,led,text):
     tc.append_log(3, text)
     dw.set_led(led)
     tc.sleep(1.0)
@@ -450,13 +450,13 @@ def test_leds(tc,io,cmd):
     tc.append_log(1, '>>> %s' % help_text(tc,io,cmd))
     tc.append_log(3, '>>>')
     dw =  pi_debug_wave.PiDebugWave(tc, io)
-    led(tc,dw,'off',   '')
-    led(tc,dw,'red',  'RED on')
-    led(tc,dw,'off',  'RED off')
-    led(tc,dw,'green','GREEN on')
-    led(tc,dw,'off',  'GREEN off')
-    led(tc,dw,'both', 'ORANGE (RED+GREEN) on')
-    led(tc,dw,'off',  'ORANGE (RED+GREEN) off')
+    set_led(tc,dw,'off',   '')
+    set_led(tc,dw,'red',  'RED on')
+    set_led(tc,dw,'off',  'RED off')
+    set_led(tc,dw,'green','GREEN on')
+    set_led(tc,dw,'off',  'GREEN off')
+    set_led(tc,dw,'both', 'ORANGE (RED+GREEN) on')
+    set_led(tc,dw,'off',  'ORANGE (RED+GREEN) off')
     tc.append_log(3, '')