plotly / plotly/plotly.py

erratic result from colorscale validator test

Open
#5,028 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug P2 testing
Dominant language
Python
Stars
18.8k
Forks
2.8k
Avg merge
16h 26m
Merged PRs (30d)
21

Description

The test tests/test_plotly_utils/validators/test_colorscale_validator.py::test_acceptance_named[Inferno_r] fails when the entire test suite is run with pytest tests in the codegen2 branch (PR #4978) but succeeds when pytest tests/test_plotly_utils/validators/test_colorscale_validator.py is run on its own. (Testing done with Python 3.11.9.)

Contributor guide

Open the contributing guide

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 with tests/test_plotly_utils/validators/test_colorscale_validator.py::test_acceptance_named[Inferno_r] on the codegen2 branch. Run the focused test and then pytest tests under Python 3.11.9 to reproduce the discrepancy. Done means the named test passes consistently in the full test suite and in isolation.

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
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.