unit_tests.py dep: continue without LED support
This commit is contained in:
parent
ff96938f0d
commit
8e4afc79d4
1 changed files with 6 additions and 1 deletions
|
|
@ -15,7 +15,12 @@ class unit_tests:
|
|||
|
||||
def led(self,name,ut):
|
||||
from mmgen.led import LEDControl
|
||||
LEDControl(enabled=True)
|
||||
try:
|
||||
LEDControl(enabled=True)
|
||||
except NoLEDSupport:
|
||||
ymsg('Warning: no LED support on this platform')
|
||||
else:
|
||||
gmsg('LED support found!')
|
||||
return True
|
||||
|
||||
def pysha3(self,name,ut): # ETH,XMR
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue