Skip to content

Commit c8f4fa4

Browse files
committed
fix(pytest[zshrc]): Fix skipif condition
1 parent 442af29 commit c8f4fa4

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
@@ -24,7 +24,7 @@
2424
USING_ZSH = "zsh" in os.getenv("SHELL", "")
2525

2626

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

0 commit comments

Comments
 (0)