Skip to content

5.10.2: CoverageWarning: Couldn't parse '.../ziptestdata/__init__.py' #279

Closed

Description

@mtelka

python -m pytest reports seven coverage warnings, all of them are like these:

/usr/lib/python3.9/vendor-packages/coverage/report.py:114: CoverageWarning: Couldn't parse '$(BUILD_DIR)/31e8e36c-c7d0-4bde-97f1-90d46908e1f4.zip/ziptestdata/__init__.py': No source for code: '$(BUILD_DIR)/31e8e36c-c7d0-4bde-97f1-90d46908e1f4.zip/ziptestdata/__init__.py'. (couldnt-parse)
/usr/lib/python3.9/vendor-packages/coverage/report.py:114: CoverageWarning: Couldn't parse '$(BUILD_DIR)/504d22ce-402b-4720-89a0-a5ea747a31da.zip/ziptestdata/__init__.py': No source for code: '$(BUILD_DIR)/504d22ce-402b-4720-89a0-a5ea747a31da.zip/ziptestdata/__init__.py'. (couldnt-parse)
...

Where the actual directory name is changing with every run. Please note the $(BUILD_DIR) is a manual replacement of full path to make the output above easier to read.

Activity

  1. mtelka commented on Feb 16, 2023

    @mtelka
    Author

    It addition it reports these too:

    CoverageWarning: Couldn't parse '/tmp/tmpu92rro4m/somepkg/__init__.py': No source for code: '/tmp/tmpu92rro4m/somepkg/__init__.py'. (couldnt-parse)
    CoverageWarning: Couldn't parse '/tmp/tmpue4orjrh/mod.py': No source for code: '/tmp/tmpue4orjrh/mod.py'. (couldnt-parse)
    
  2. added 2 commits that reference this issue on Feb 21, 2023
    a55671a
    c529b68
  3. added a commit that references this issue on Feb 28, 2023
    90a0d97
  4. added a commit that references this issue on Mar 9, 2023
    31b972e
  5. added 2 commits that reference this issue on Mar 22, 2023
    8b0695a
    7e86953
  6. added 2 commits that reference this issue on Apr 11, 2023
    44c1c98
    7cfdea2
  7. added a commit that references this issue on Jun 20, 2023
    8dd535e
  8. added a commit that references this issue on Jun 20, 2023
    c349edb
  9. added a commit that references this issue on Jun 29, 2023
    5302ba3
  10. added 2 commits that reference this issue on Jul 11, 2023
    9a3b92e
    43a5c03
  11. added a commit that references this issue on Nov 28, 2023
    e8582cd
  12. added a commit that references this issue on Apr 9, 2024
    bcafc8f
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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions