Skip to content

Commit

Permalink
Label flaky test (#385)
Browse files Browse the repository at this point in the history
  • Loading branch information
ianthomas23 committed May 20, 2024
1 parent 7882262 commit af85e28
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ test-no-images = [
# Dependencies to run tests excluding image-generating tests.
"pytest",
"pytest-cov",
"pytest-rerunfailures",
"pytest-xdist",
"wurlitzer",
]
Expand Down
1 change: 1 addition & 0 deletions tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ def test_config_filled(show_text: bool, name: str) -> None:

@pytest.mark.image
@pytest.mark.text
@pytest.mark.flaky(reruns=1, condition=platform.python_implementation().startswith("PyPy"))
@pytest.mark.parametrize("show_text", [False, True])
@pytest.mark.parametrize("name", util_test.quad_as_tri_names())
def test_config_filled_quad_as_tri(show_text: bool, name: str) -> None:
Expand Down

0 comments on commit af85e28

Please sign in to comment.