factor out run_test_w_pandas

master
George Hotz 2017-05-02 09:54:57 -07:00
parent 6cd08d6022
commit 8558de68a8
1 changed files with 3 additions and 0 deletions

View File

@ -22,6 +22,9 @@ def run_test():
if len(pandas) == 1:
# if we only have one on USB, assume the other is on wifi
pandas.append("WIFI")
run_test_w_pandas(pandas)
def run_test_w_pandas(pandas):
h = map(lambda x: Panda(x), pandas)
print h