Fix flaky test of the temporary directory used by load_from_disk
MEMBER
CI failed because of a server error - merging
2021-12-06T11:25:03Z
https://github.com/huggingface/datasets/pull/3388#issuecomment-986686188
https://api.github.com/repos/huggingface/datasets/issues/3388
IC_kwDODunzps46z6Ls
https://api.github.com/repos/huggingface/datasets/issues/comments/986686188/reactions
2021-12-06T11:25:03Z
https://api.github.com/repos/huggingface/datasets/issues/comments/986686188
https://avatars.githubusercontent.com/u/42851186?v=4
https://api.github.com/users/lhoestq/events{/privacy}
https://api.github.com/users/lhoestq/followers
https://api.github.com/users/lhoestq/following{/other_user}
https://api.github.com/users/lhoestq/gists{/gist_id}
https://github.com/lhoestq
lhoestq
MDQ6VXNlcjQyODUxMTg2
https://api.github.com/users/lhoestq/orgs
https://api.github.com/users/lhoestq/received_events
https://api.github.com/users/lhoestq/repos
https://api.github.com/users/lhoestq/starred{/owner}{/repo}
https://api.github.com/users/lhoestq/subscriptions
User
https://api.github.com/users/lhoestq
public
The test is flaky, here is an example of random CI failure:
https://github.com/huggingface/datasets/commit/73ed6615b4b3eb74d5311684f7b9e05cdb76c989

I fixed that by not checking the content of the random part of the temporary directory name