summaryrefslogtreecommitdiffstats
path: root/src/test/testcases/testAduMem_124B.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/testcases/testAduMem_124B.py')
-rw-r--r--src/test/testcases/testAduMem_124B.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/testcases/testAduMem_124B.py b/src/test/testcases/testAduMem_124B.py
index 91a193c5..8e0804ed 100644
--- a/src/test/testcases/testAduMem_124B.py
+++ b/src/test/testcases/testAduMem_124B.py
@@ -22,6 +22,7 @@
# permissions and limitations under the License.
#
# IBM_PROLOG_END_TAG
+from __future__ import print_function
import sys
import os
import struct
@@ -51,8 +52,8 @@ def main( ):
if(data == readData):
print ("Success - Write-Read ADU byte["+str(byte)+"] offset[" + str(offset)+"]")
else:
- print [hex(a) for a in data]
- print [hex(a) for a in readData]
+ print([hex(a) for a in data])
+ print([hex(a) for a in readData])
raise Exception('data mistmach')
# Test case 2: Invalid length - 3
OpenPOWER on IntegriCloud