BUG 1.3.3: pytest is failing when `pytest-randomly` pytest plugin is used
### 

- [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.

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


### Reproducible Example

```python
run pytest
```


### Issue Description

pytest is failing with `unrecognized arguments: --strict-data-files`
```console
+ /usr/bin/pytest -ra
ERROR: usage: pytest [options] [file_or_dir] [file_or_dir] [...]
pytest: error: unrecognized arguments: --strict-data-files
  inifile: /home/tkloczko/rpmbuild/BUILD/pandas-1.3.3/pyproject.toml
  rootdir: /home/tkloczko/rpmbuild/BUILD/pandas-1.3.3
```


### Expected Behavior

pytest should run test suite

### Installed Versions

N/A
