def METHOD_NAME():
    """
    characters outside of latin (codepoints > 255) may not work on Windows.
    """
    # A Hebrew character
    fname = "this/that/the/other" + HEBREW_CHAR
    # make sure it's not in the latin charset
    # so we're really testing it.
    try:
        # not sure how to get the Windows mcbs, but this is close
        fname.encode('cp1252')
        assert False, "this is a latin character -- it's not supposed to be for this test"
    except UnicodeEncodeError:
        pass
    # We can't handle non-latin filenames on Windows at this point
    if IS_WINDOWS:
        with pytest.raises(ValueError):
            bfname = filename_as_bytes(fname)
    else:
        bfname = filename_as_bytes(fname)
    #print(fname)
    #print(bfname)
    # not sure what assert here, as long as there is no error
        assert isinstance(bfname, bytes)