Fix class name of symbolic link
NONE
The docs for this PR live [here](https://moon-ci-docs.huggingface.co/docs/datasets/pr_5126). All of your documentation changes will be reflected on that endpoint.
2022-10-17T15:16:24Z
https://github.com/huggingface/datasets/pull/5126#issuecomment-1281034445
https://api.github.com/repos/huggingface/datasets/issues/5126
IC_kwDODunzps5MWwjN
https://api.github.com/repos/huggingface/datasets/issues/comments/1281034445/reactions
2022-10-17T15:16:24Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1281034445
https://avatars.githubusercontent.com/u/99929124?v=4
https://api.github.com/users/HuggingFaceDocBuilderDev/events{/privacy}
https://api.github.com/users/HuggingFaceDocBuilderDev/followers
https://api.github.com/users/HuggingFaceDocBuilderDev/following{/other_user}
https://api.github.com/users/HuggingFaceDocBuilderDev/gists{/gist_id}
https://github.com/HuggingFaceDocBuilderDev
HuggingFaceDocBuilderDev
U_kgDOBfTMJA
https://api.github.com/users/HuggingFaceDocBuilderDev/orgs
https://api.github.com/users/HuggingFaceDocBuilderDev/received_events
https://api.github.com/users/HuggingFaceDocBuilderDev/repos
https://api.github.com/users/HuggingFaceDocBuilderDev/starred{/owner}{/repo}
https://api.github.com/users/HuggingFaceDocBuilderDev/subscriptions
User
https://api.github.com/users/HuggingFaceDocBuilderDev
public
MEMBER
I have removed the reference to the Issue in the PR title, so that we avoid to have both references (to the issue and to the PR) in the merge commit to the main branch.

Instead, it should be commented in the PR description, so that the PR is appropriately linked by GitHub to its corresponding Issue:

> Fix #5098.
2022-10-18T05:35:58Z
https://github.com/huggingface/datasets/pull/5126#issuecomment-1281838795
https://api.github.com/repos/huggingface/datasets/issues/5126
IC_kwDODunzps5MZ07L
https://api.github.com/repos/huggingface/datasets/issues/comments/1281838795/reactions
2022-10-18T06:34:57Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1281838795
https://avatars.githubusercontent.com/u/8515462?v=4
https://api.github.com/users/albertvillanova/events{/privacy}
https://api.github.com/users/albertvillanova/followers
https://api.github.com/users/albertvillanova/following{/other_user}
https://api.github.com/users/albertvillanova/gists{/gist_id}
https://github.com/albertvillanova
albertvillanova
MDQ6VXNlcjg1MTU0NjI=
https://api.github.com/users/albertvillanova/orgs
https://api.github.com/users/albertvillanova/received_events
https://api.github.com/users/albertvillanova/repos
https://api.github.com/users/albertvillanova/starred{/owner}{/repo}
https://api.github.com/users/albertvillanova/subscriptions
User
https://api.github.com/users/albertvillanova
public
CONTRIBUTOR
@albertvillanova What should I test in your opinion? Also, where should I save the test file and how should I name it? Thanks for your support
2022-10-18T08:05:06Z
https://github.com/huggingface/datasets/pull/5126#issuecomment-1281977045
https://api.github.com/repos/huggingface/datasets/issues/5126
IC_kwDODunzps5MaWrV
https://api.github.com/repos/huggingface/datasets/issues/comments/1281977045/reactions
2022-10-18T08:05:06Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1281977045
https://avatars.githubusercontent.com/u/9295277?v=4
https://api.github.com/users/riccardobucco/events{/privacy}
https://api.github.com/users/riccardobucco/followers
https://api.github.com/users/riccardobucco/following{/other_user}
https://api.github.com/users/riccardobucco/gists{/gist_id}
https://github.com/riccardobucco
riccardobucco
MDQ6VXNlcjkyOTUyNzc=
https://api.github.com/users/riccardobucco/orgs
https://api.github.com/users/riccardobucco/received_events
https://api.github.com/users/riccardobucco/repos
https://api.github.com/users/riccardobucco/starred{/owner}{/repo}
https://api.github.com/users/riccardobucco/subscriptions
User
https://api.github.com/users/riccardobucco
public
MEMBER
The regression test to be implemented should test what your PR fixes: that is, that `_resolve_single_pattern_locally` function does not resolve any symbolic link when passed a directory that does contain any.

As you are testing a function in `data_files.py`, the corresponding test should be in `tests/test_data_files.py`.

You could name the test something lilke: `test_resolve_single_pattern_locally_does_not_resolve_symbolic_links`

You could take inspiration from other tests there in that file.
2022-10-18T08:49:04Z
https://github.com/huggingface/datasets/pull/5126#issuecomment-1282035639
https://api.github.com/repos/huggingface/datasets/issues/5126
IC_kwDODunzps5Mak-3
https://api.github.com/repos/huggingface/datasets/issues/comments/1282035639/reactions
2022-10-18T09:18:44Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1282035639
https://avatars.githubusercontent.com/u/8515462?v=4
https://api.github.com/users/albertvillanova/events{/privacy}
https://api.github.com/users/albertvillanova/followers
https://api.github.com/users/albertvillanova/following{/other_user}
https://api.github.com/users/albertvillanova/gists{/gist_id}
https://github.com/albertvillanova
albertvillanova
MDQ6VXNlcjg1MTU0NjI=
https://api.github.com/users/albertvillanova/orgs
https://api.github.com/users/albertvillanova/received_events
https://api.github.com/users/albertvillanova/repos
https://api.github.com/users/albertvillanova/starred{/owner}{/repo}
https://api.github.com/users/albertvillanova/subscriptions
User
https://api.github.com/users/albertvillanova
public
Fix #5098 