We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97f4d1e commit 333f306Copy full SHA for 333f306
1 file changed
tests/cmd/test_git.py
@@ -981,10 +981,7 @@ def test_stash_apply_pop(
981
assert stash is not None
982
983
# Apply or pop
984
- if method == "apply":
985
- result = stash.apply()
986
- else:
987
- result = stash.pop()
+ result = stash.apply() if method == "apply" else stash.pop()
988
989
# Should succeed
990
assert "error" not in result.lower() or "conflict" in result.lower()
0 commit comments