def METHOD_NAME(tmp_path):
    from LDAStools import frameCPP
    # check that we can use a file:// URL as well
    tmp = tmp_path / "test.gwf"
    assert isinstance(
        io_gwf.open_gwf(tmp.as_uri(), mode='w'),
        frameCPP.OFrameFStream,
    )