Closedown
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#TestingList for pshell: configuration properties
|
||||
#Thu Oct 12 11:14:29 CEST 2017
|
||||
#Thu Oct 12 16:09:44 CEST 2017
|
||||
customPanel=
|
||||
showEnabledTestsOnly=true
|
||||
listFilter=rps-try
|
||||
|
||||
@@ -7,17 +7,19 @@ global sys, inspect, os, traceback
|
||||
import sys, inspect, os, traceback
|
||||
|
||||
from array import *
|
||||
import pickle
|
||||
a = array('i',[50,105,0x8899,0xffffff,1,0,0,0,0,0,0,0,0,0,1])
|
||||
print 'a ', a
|
||||
b = array('i',[0]*10)
|
||||
print 'b ', b
|
||||
a.extend(b)
|
||||
a.append(4)
|
||||
a.fromlist([1,2,3,4])
|
||||
print 'a2', a
|
||||
c = pickle.dumps(a)
|
||||
print 'c2', c
|
||||
a = bytearray()
|
||||
a = array('B',[0x32,0,0x69,0,0x99,0x88,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0])
|
||||
mode = "2,IQCOM,$BMA1,1,DIA"
|
||||
modebytes = array('B', mode)
|
||||
a.extend(modebytes)
|
||||
#a.append(4)
|
||||
#a.fromlist([1,2,3,4])
|
||||
import binascii
|
||||
print binascii.hexlify(a)
|
||||
print a
|
||||
a[16] = 1
|
||||
print a
|
||||
print binascii.hexlify(a)
|
||||
|
||||
def startTest(testName, DEVICE, params):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user