Skip to content

Commit

Permalink
Only skip flacky test on Linux and Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
kdeldycke committed Jan 28, 2025
1 parent 3798cfc commit 1d025fd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/test_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@

import click
import pytest
from extra_platforms.pytest import ( # type: ignore[attr-defined]
skip_linux,
skip_windows,
)
from pytest_cases import parametrize

from click_extra import echo
Expand Down Expand Up @@ -317,7 +321,8 @@ def logger_as_object():
""")


@pytest.mark.skip("Test is surprisingly flacky on Windows and Ubuntu")
@skip_linux("Test is surprisingly flacky on Ubuntu")
@skip_windows("Test is surprisingly flacky on Windows")
def test_new_extra_logger_root_config(invoke):
"""Modify the root logger via ``new_extra_logger()``"""

Expand Down

0 comments on commit 1d025fd

Please sign in to comment.