Closed
Description
Describe the bug
pandas started testing against Python 3.10.beta.1. pandas-dev/pandas#41113. While working on the CI, we found that running the coverage with pytest-cov
would cause the test step to freeze immediately after start. But if use coveragepy directly, the test would freeze at a specific test file https://github.com/pandas-dev/pandas/blob/master/pandas/tests/io/json/test_pandas.py. For now, we skipped the whole file to make the CI green. This only happens on Python 3.10
To Reproduce
Build Version
INSTALLED VERSIONS
------------------
commit : 1bdd5e6f668a4c5fabfa041082561340efe480df
python : 3.10.0.beta.1
python-bits : 64
OS : Linux
OS-release : 5.4.0-1046-azure
Version : #48-Ubuntu SMP Tue Apr 13 07:18:42 UTC 2021
machine : x86_64
processor : x86_64
byteorder : little
LC_ALL : None
LANG : C.UTF-8
LOCALE : en_US.UTF-8
Output of pip list
Package Version
---------------- ---------------------------
apipkg 1.5
attrs 20.3.0
coverage 5.6b2
Cython 0.29.23
execnet 1.8.0
hypothesis 6.10.1
iniconfig 1.1.1
numpy 1.21.0.dev0+1401.g1fee7acbc
packaging 20.9
pip 21.1
pluggy 0.13.1
py 1.10.0
pyparsing 2.4.7
pytest 6.3.0.dev399+g2049ae271
pytest-forked 1.3.0
pytest-xdist 2.2.1
python-dateutil 2.8.1
pytz 2021.1
setuptools 56.0.0
six 1.15.0
sortedcontainers 2.3.0
toml 0.10.2
wheel 0.36.2
Test command
coverage run -m pytest -m 'not slow and not network and not clipboard' pandas
Expected behavior
No freeze.