pytest-dev / pytest-dev/pytest-html

AttributeError: 'Cells' object has no attribute 'pop' Error

Open
#606 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
779
Forks
260
PR merge metrics
No merged PRs in 30d

Description

I'm getting an error "AttributeError: 'Cells' object has no attribute 'pop'" with the version of 4.0.0rc0. The error is coming from when executing the code mentioned at https://pytest-html.readthedocs.io/en/latest/user_guide.html#modifying-the-results-table
The issue gets resolved when the version of pytest-html was downgraded to 3.2.0
pytest Version: 7.2.2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the code from the pytest-html user guide's “Modifying the results table” example with pytest-html 4.0.0rc0 and pytest 7.2.2, then compare it with pytest-html 3.2.0. Done means the documented example no longer raises AttributeError: 'Cells' object has no attribute 'pop'.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.