Skip to content

Pytest 7.2.2 failed to create test-coverage report. Error: CoverageWarning: No data was collected. (no-data-collected) #10801

Closed

Description

@EvilLogitech

Just started to learn programming)
Using Ubuntu on WSL, python, 3.10.6
Changing pytest version to 7.1.3 (like in school project) solved my problem

Failed confiruration:

platform linux -- Python 3.10.6, pytest-7.2.2, pluggy-1.0.0
rootdir: /home/ice/python-project-50, configfile: setup.cfg
plugins: cov-4.0.0

Good configuration:
platform linux -- Python 3.10.6, pytest-7.1.3, pluggy-1.0.0
rootdir: /home/ice/python-project-50, configfile: setup.cfg
plugins: cov-4.0.0

pytest722
pytest713

Activity

  1. locked and limited conversation to collaborators on Mar 10, 2023
  2. converted this issue into a discussion #10802 on Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions