After running a test recieving parsing error

Abierto
#588 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
45/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
python
Área
testing-qa

Línea de trabajo

Clone the carate repository, check out dev, install it with pip install -e ., and run pytest tests/ using the provided coverage configuration. Reproduce the coverage.exceptions.DataError about combining line and arc data; the issue is complete when the test run produces the requested coverage outputs without that internal error.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Summary

Expected vs actual result

Have a coverage output

Reproducer

Clone carate repo

Run

git clone https://codeberg.org/sail.black/carate.git
git checkout dev
pip install -e . 
pytest tests/

Versions

amarium                  0.1.4
astroid                  2.15.0
attrs                    22.2.0
autopep8                 2.0.2
black                    23.1.0
bleach                   6.0.0
build                    0.10.0
carate                   0.2.6      /home/developer/carate
certifi                  2022.12.7
cffi                     1.15.1
charset-normalizer       2.1.1
click                    8.1.3
cmake                    3.26.1
contourpy                1.0.7
coverage                 7.2.2
cryptography             40.0.1
cycler                   0.11.0
dill                     0.3.6
docformatter             1.5.1
docutils                 0.19
emoji                    2.2.0
exceptiongroup           1.1.1
filelock                 3.10.4
flake8                   6.0.0
fonttools                4.39.2
idna                     3.4
importlib-metadata       6.1.0
iniconfig                2.0.0
isort                    5.12.0
jaraco.classes           3.2.3
jeepney                  0.8.0
Jinja2                   3.1.2
joblib                   1.2.0
keyring                  23.13.1
kiwisolver               1.4.4
lazy-object-proxy        1.9.0
lit                      16.0.0
markdown-it-py           2.2.0
MarkupSafe               2.1.2
matplotlib               3.7.1
mccabe                   0.7.0
mdurl                    0.1.2
more-itertools           9.1.0
mpmath                   1.3.0
mypy                     1.1.1
mypy-extensions          1.0.0
networkx                 3.0
numpy                    1.24.2
nvidia-cublas-cu11       11.10.3.66
nvidia-cuda-cupti-cu11   11.7.101
nvidia-cuda-nvrtc-cu11   11.7.99
nvidia-cuda-runtime-cu11 11.7.99
nvidia-cudnn-cu11        8.5.0.96
nvidia-cufft-cu11        10.9.0.58
nvidia-curand-cu11       10.2.10.91
nvidia-cusolver-cu11     11.4.0.1
nvidia-cusparse-cu11     11.7.4.91
nvidia-nccl-cu11         2.14.3
nvidia-nvtx-cu11         11.7.91
packaging                23.0
pandas                   1.5.3
pathspec                 0.11.1
Pillow                   9.4.0
pip                      22.0.2
pkginfo                  1.9.6
platformdirs             3.1.1
pluggy                   1.0.0
prettify-py              0.2.3.12
psutil                   5.9.4
pycodestyle              2.10.0
pycparser                2.21
pyflakes                 3.0.1
Pygments                 2.14.0
pylint                   2.17.1
pyparsing                3.0.9
pyproject_hooks          1.0.0
pytest                   7.2.2
pytest-cov               4.0.0
python-dateutil          2.8.2
pytz                     2023.2
rdkit-pypi               2022.9.5
readme-renderer          37.3
requests                 2.28.2
requests-toolbelt        0.10.1
rfc3986                  2.0.0
rich                     13.3.2
scikit-learn             1.2.2
scipy                    1.10.1
SecretStorage            3.3.3
setuptools               59.6.0
six                      1.16.0
spawn-lia                0.1.17
sympy                    1.11.1
threadpoolctl            3.1.0
tomli                    2.0.1
tomlkit                  0.11.6
torch                    1.13.1
torch-cluster            1.6.1
torch-geometric          2.3.0
torch-scatter            2.1.1
torch-scatter-carate     2.1.1
torch-sparse             0.6.17
torch-sparse-carate      0.6.17
torch-spline-conv        1.2.2
torchaudio               0.13.1
torchvision              0.14.1
tqdm                     4.65.0
triton                   2.0.0
twine                    4.0.2
typing_extensions        4.5.0
untokenize               0.1.1
urllib3                  1.26.15
webencodings             0.5.1
wheel                    0.40.0
wrapt                    1.15.0
zipp                     3.15.0

Config

[coverage:run]
branch = True
omit = dist/*, docs/*, notebooks/*, plots/*, tests/*, venv/*  # define paths to omit

[coverage:report]
show_missing = True
skip_covered = True

[tool:pytest]
addopts = -v --cov-report term --cov-report html:htmlcov --cov-report xml --cov-fail-under=0 --cov=carate

Yields the error

INTERNALERROR>     raise DataError("Can't combine line data with arc data")
INTERNALERROR> coverage.exceptions.DataError: Can't combine line data with arc data
Lenguaje dominante
Python
Estrellas
2.1k
Forks
253
Merge medio
6 d 10 min
PR fusionados (30 d)
2

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de pytest-dev/pytest-cov

Todos los issues de pytest-dev/pytest-cov

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.