Python 3.8 support: fix SyntaxWarning on avocado.utils.cpu
We're checking for identity with literal integers. Let's fix the
SyntaxWarning: "is" with a literal. Did you mean "=="
given by Python 3.8 and later.
Signed-off-by: NCleber Rosa <crosa@redhat.com>
Showing
想要评论请 注册 或 登录