diff --git a/tox.ini b/tox.ini index 2a5217339d1..8a40b63fcc5 100644 --- a/tox.ini +++ b/tox.ini @@ -12,6 +12,8 @@ setenv = PYTHONWARNDEFAULTENCODING = 1 SETUPTOOLS_ENFORCE_DEPRECATION = 1 commands = + python -c 'from pathlib import Path; p = Path("setuptools.egg-info/PKG-INFO"); print(p.read_text(encoding="utf-8") if p.exists() else "NO PKG-INFO")' # DEBUG + # ^ ensure no malformed egg-info in flaky tests pytest {posargs} usedevelop = True extras =