Skip to content

Commit 8b9f897

Browse files
committed
fix(pytest[zshrc]): Fix skipif condition
1 parent c234a07 commit 8b9f897

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conftest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
USING_ZSH = "zsh" in os.getenv("SHELL", "")
2424

2525

26-
@pytest.mark.skipif(USING_ZSH, reason="Using ZSH")
26+
@pytest.mark.skipif(not USING_ZSH, reason="Using ZSH")
2727
@pytest.fixture(autouse=USING_ZSH, scope="session")
2828
def zshrc(user_path: pathlib.Path) -> pathlib.Path:
2929
"""This quiets ZSH default message.

0 commit comments

Comments
 (0)