def test_merge_typesafe_and_separator():
    src = {
        "dict": {
            "integer": 0
            }
        }
    dst = {
        "dict": {
            "integer": "3"
            }
        }
    try:
        dpath.util.merge(dst, src, flags=(dpath.util.MERGE_ADDITIVE | dpath.util.MERGE_TYPESAFE), separator=";")
    except __HOLE__ as e:
        assert(str(e).endswith("dict;integer"))
        return
    raise Exception("MERGE_TYPESAFE failed to raise an exception when merging between str and int!")
dataset/ETHPy150Open akesterson/dpath-python/tests/test_util_merge.py/test_merge_typesafe_and_separator