We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72cc602 commit 974de65Copy full SHA for 974de65
tests/test_cli.py
@@ -88,7 +88,7 @@ def test_commitizen_excepthook(capsys):
88
with pytest.raises(SystemExit) as excinfo:
89
cli.commitizen_excepthook(NotAGitProjectError, NotAGitProjectError(), "")
90
91
- assert excinfo.type == SystemExit
+ assert excinfo.type is SystemExit
92
assert excinfo.value.code == NotAGitProjectError.exit_code
93
94
@@ -101,7 +101,7 @@ def test_commitizen_debug_excepthook(capsys):
101
debug=True,
102
)
103
104
105
106
assert "NotAGitProjectError" in str(excinfo.traceback[0])
107
@@ -132,7 +132,7 @@ def test_commitizen_excepthook_no_raises(capsys):
132
no_raise=[NotAGitProjectError.exit_code],
133
134
135
136
assert excinfo.value.code == 0
137
138
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments