def METHOD_NAME(self):
    """Try reading from an unsupported type."""
    path_or_buffer = len("bogus")
    with pytest.raises(TypeError, match="Type <class 'int'> is not supported."):
        with augur.io.file.open_file(path_or_buffer, 'r') as f:
            f.read()