Skip to content

Commit

Permalink
fix(pytest[zshrc]): Fix skipif condition
Browse files Browse the repository at this point in the history
  • Loading branch information
tony committed Aug 20, 2023
1 parent 248dda5 commit b96922d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
USING_ZSH = "zsh" in os.getenv("SHELL", "")


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

0 comments on commit b96922d

Please sign in to comment.