diff --git a/test/py/tests/test_zynq_aes.py b/test/py/tests/test_zynq_aes.py index a5f5187b11..77e4db0901 100644 --- a/test/py/tests/test_zynq_aes.py +++ b/test/py/tests/test_zynq_aes.py @@ -49,7 +49,7 @@ def zynq_aes_pre_commands(u_boot_console): if not m: pytest.skip('bootmode cannnot be determined') bootmode=m.group(1) - if bootmode is "jtag": + if bootmode == "jtag": pytest.skip('skipping due to jtag bootmode') @pytest.mark.buildconfigspec('cmd_zynq_aes') diff --git a/test/py/tests/test_zynq_rsa.py b/test/py/tests/test_zynq_rsa.py index f5014d44ff..56acb6474f 100644 --- a/test/py/tests/test_zynq_rsa.py +++ b/test/py/tests/test_zynq_rsa.py @@ -47,7 +47,7 @@ def zynq_rsa_pre_commands(u_boot_console): if not m: pytest.skip('bootmode cannnot be determined') bootmode=m.group(1) - if bootmode is "jtag": + if bootmode == "jtag": pytest.skip('skipping due to jtag bootmode') @pytest.mark.buildconfigspec('cmd_zynq_rsa')