diff --git a/test/test_c_execution.py b/test/test_c_execution.py index b05b44a8e36f728511192b647d15c26efe3e0132..95f1c499bd7439bda626db5ac8b786b56b61da00 100644 --- a/test/test_c_execution.py +++ b/test/test_c_execution.py @@ -331,7 +331,7 @@ def test_missing_compilers(): # next test that some made up compiler defaults to gcc ccomp = CCompiler(cc='foo') assert isinstance(ccomp.toolchain, GCCToolchain) - assert ccomp.cc = 'gcc' + assert ccomp.cc == 'gcc' if __name__ == "__main__":