After running a test recieving parsing error

Đang mở
#588 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
testing-qa

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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
Ngôn ngữ chính
Python
Star
2.1k
Fork
256
Merge trung bình
6 ngày 10 phút
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của pytest-dev/pytest-cov

Tất cả issue của pytest-dev/pytest-cov

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.