pytest -v failed about pandas@1.3.2 on centos8_aarch64
### 

- [X] I have checked that this issue has not already been reported.

- [X] I have confirmed this bug exists on the [latest version](https://pandas.pydata.org/docs/whatsnew/index.html) of pandas.

- [X] I have confirmed this bug exists on the master branch of pandas.


### Reproducible Example

```python
import pandas as pd
pd.test()
```


### Issue Description


```console
bug:
FAILED pandas/tests/config/test_localization.py::test_encoding_detected - LookupError: unknown encoding: C
FAILED pandas/tests/indexes/numeric/test_numeric.py::TestUInt64Index::test_constructor_does_not_cast_to_float
FAILED pandas/tests/io/test_clipboard.py::test_raw_roundtrip[\U0001f44d...] - pandas.io.clipboard.PyperclipException:
FAILED pandas/tests/io/test_clipboard.py::test_raw_roundtrip[\u03a9\u0153\u2211\xb4...] - pandas.io.clipboard.PyperclipException:
FAILED pandas/tests/io/test_clipboard.py::test_raw_roundtrip[abcd...] - pandas.io.clipboard.PyperclipException:
```

### Expected Behavior

```console
detail:
_____________________________________________________________________________________________ test_encoding_detected ______________________________________________________________________________________________

    def test_encoding_detected():
        system_locale = os.environ.get("LC_ALL")
        system_encoding = system_locale.split(".")[-1] if system_locale else "utf-8"

>       assert (
            codecs.lookup(pd.options.display.encoding).name
            == codecs.lookup(system_encoding).name
        )
E       LookupError: unknown encoding: C

pandas/tests/config/test_localization.py:106: LookupError
_____________________________________________________________________________ TestUInt64Index.test_constructor_does_not_cast_to_float _____________________________________________________________________________
[XPASS(strict)] https://github.com/numpy/numpy/issues/19146
________________________________________________________________________________________ test_raw_roundtrip[\U0001f44d...] ________________________________________________________________________________________

data = '👍...'

    @pytest.mark.single
    @pytest.mark.clipboard
    @pytest.mark.parametrize("data", ["\U0001f44d...", "Ωœ∑´...", "abcd..."])
    def test_raw_roundtrip(data):
        # PR #25040 wide unicode wasn't copied correctly on PY3 on windows
>       clipboard_set(data)

pandas/tests/io/test_clipboard.py:312:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pandas/io/clipboard/__init__.py:633: in lazy_load_stub_copy
    return copy(text)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pandas.io.clipboard.init_no_clipboard.<locals>.ClipboardUnavailable object at 0xfffee2be8940>, args = ('👍...',), kwargs = {}

    def __call__(self, *args, **kwargs):
>       raise PyperclipException(EXCEPT_MSG)
E       pandas.io.clipboard.PyperclipException:
E           Pyperclip could not find a copy/paste mechanism for your system.
E           For more information, please visit
E           https://pyperclip.readthedocs.io/en/latest/#not-implemented-error

pandas/io/clipboard/__init__.py:294: PyperclipException
__________________________________________________________________________________ test_raw_roundtrip[\u03a9\u0153\u2211\xb4...] __________________________________________________________________________________

data = 'Ωœ∑´...'

    @pytest.mark.single
    @pytest.mark.clipboard
    @pytest.mark.parametrize("data", ["\U0001f44d...", "Ωœ∑´...", "abcd..."])
    def test_raw_roundtrip(data):
        # PR #25040 wide unicode wasn't copied correctly on PY3 on windows
>       clipboard_set(data)

pandas/tests/io/test_clipboard.py:312:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pandas/io/clipboard/__init__.py:633: in lazy_load_stub_copy
    return copy(text)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pandas.io.clipboard.init_no_clipboard.<locals>.ClipboardUnavailable object at 0xfffee2afa640>, args = ('Ωœ∑´...',), kwargs = {}

    def __call__(self, *args, **kwargs):
>       raise PyperclipException(EXCEPT_MSG)
E       pandas.io.clipboard.PyperclipException:
E           Pyperclip could not find a copy/paste mechanism for your system.
E           For more information, please visit
E           https://pyperclip.readthedocs.io/en/latest/#not-implemented-error

pandas/io/clipboard/__init__.py:294: PyperclipException
___________________________________________________________________________________________ test_raw_roundtrip[abcd...] ___________________________________________________________________________________________

data = 'abcd...'

    @pytest.mark.single
    @pytest.mark.clipboard
    @pytest.mark.parametrize("data", ["\U0001f44d...", "Ωœ∑´...", "abcd..."])
    def test_raw_roundtrip(data):
        # PR #25040 wide unicode wasn't copied correctly on PY3 on windows
>       clipboard_set(data)

pandas/tests/io/test_clipboard.py:312:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
pandas/io/clipboard/__init__.py:633: in lazy_load_stub_copy
    return copy(text)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <pandas.io.clipboard.init_no_clipboard.<locals>.ClipboardUnavailable object at 0xfffee2b84880>, args = ('abcd...',), kwargs = {}

    def __call__(self, *args, **kwargs):
>       raise PyperclipException(EXCEPT_MSG)
E       pandas.io.clipboard.PyperclipException:
E           Pyperclip could not find a copy/paste mechanism for your system.
E           For more information, please visit
E           https://pyperclip.readthedocs.io/en/latest/#not-implemented-error

pandas/io/clipboard/__init__.py:294: PyperclipException
================================================================================================ warnings summary =================================================================================================
../../../home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.4.1/python-3.8.8-aosgvy74ce4zaoqnbj7obuyvg7csguo7/lib/python3.8/site-packages/_pytest/config/__init__.py:1114
  /home/all_spack_env/spack/opt/spack/linux-centos8-aarch64/gcc-8.4.1/python-3.8.8-aosgvy74ce4zaoqnbj7obuyvg7csguo7/lib/python3.8/site-packages/_pytest/config/__init__.py:1114: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: hypothesis
    self._mark_plugins_for_rewrite(hook)

pandas/tests/apply/test_invalid_arg.py::test_transform_wont_agg_series[func1]
  /root/9/pandas-1.3.2/pandas/core/arraylike.py:364: RuntimeWarning: invalid value encountered in sqrt
    result = getattr(ufunc, method)(*inputs, **kwargs)

pandas/tests/scalar/timedelta/test_arithmetic.py::TestTimedeltaMultiplicationDivision::test_td_div_nan[nan1]
  /root/9/pandas-1.3.2/pandas/tests/scalar/timedelta/test_arithmetic.py:445: RuntimeWarning: invalid value encountered in double_scalars
    result = td // nan

-- Docs: https://docs.pytest.org/en/stable/warnings.html
----------------------------------------------------------------------------- generated xml file: /root/9/pandas-1.3.2/test-data.xml --------
```

### Installed Versions

<details>

pd.show_versions()
1.3.2

</details>
