fix itest-core run error 91/293291/5
authorbiao716.wang <biao716.wang@samsung.com>
Wed, 24 May 2023 03:00:31 +0000 (12:00 +0900)
committerbiao716.wang <biao716.wang@samsung.com>
Wed, 24 May 2023 08:37:40 +0000 (17:37 +0900)
commit54eaf4a4a1492cb63fe4d1c0494f4d7c81b985cf
treed163d8d40db084f464e2011fdafd5500cd28c204
parent07c70d149a0726da8959ae84b7d17cc865243186
fix itest-core run error
the method 'platform.linux_distribution' removed in Python 3.8, use distro instead.
2. pexpect.expect() in python3 is throwing error as "must be in str , not bytes"
add encoding parameter to fix.
Change-Id: I39a8554a355fcd029a7a4ee699ee7e9b6a7da41d
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
itest/case.py
itest/result.py
itest/utils.py