Update diagnostics/os_diagnostics.py
This commit is contained in:
@@ -9,8 +9,6 @@ import usys
|
|||||||
import urandom
|
import urandom
|
||||||
from urandom import random
|
from urandom import random
|
||||||
from pybricks.tools import wait, multitask, run_task
|
from pybricks.tools import wait, multitask, run_task
|
||||||
from pybricks.hubs import PrimeHub
|
|
||||||
from pybricks.pupdevices import Motor
|
|
||||||
import pybricks as pybricksforvers
|
import pybricks as pybricksforvers
|
||||||
class FakeUART:
|
class FakeUART:
|
||||||
def __init__(self, port, baudrate, timeout):
|
def __init__(self, port, baudrate, timeout):
|
||||||
@@ -102,7 +100,7 @@ class OSDiagnostics:
|
|||||||
usystestobject.print_results()
|
usystestobject.print_results()
|
||||||
self.successfultests += usystestobject.successfultests
|
self.successfultests += usystestobject.successfultests
|
||||||
self.failedtests.update(usystestobject.failedtests)
|
self.failedtests.update(usystestobject.failedtests)
|
||||||
def testAll(self):
|
def printAll(self):
|
||||||
self.testUErrno()
|
self.testUErrno()
|
||||||
self.testUIO()
|
self.testUIO()
|
||||||
self.testUJSON()
|
self.testUJSON()
|
||||||
|
|||||||
Reference in New Issue
Block a user