def write_file(content, *path):
    with open(os.path.join(*path), "w") as file:
        return file.write(content)
Assemble a simple right-hand side over a mixed space and check result.
dataset/ETHPy150Open sosy-lab/benchexec/benchexec/util.py/write_file--crossover with--dataset/ETHPy150Open OP2/PyOP2/test/unit/test_matrices.py/TestMixedMatrices.test_assemble_mixed_rhs