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 1ca0d87 commit b86e3e3Copy full SHA for b86e3e3
tests/scancode/test_extract_cli.py
@@ -255,9 +255,6 @@ def test_extractcode_command_can_extract_nuget(monkeypatch):
255
monkeypatch.setattr(click._termui_impl, 'isatty', lambda _: True)
256
runner = CliRunner()
257
result = runner.invoke(extract_cli.extractcode, ['--verbose', test_dir], catch_exceptions=False)
258
- try:
259
- assert result.exit_code == 0
260
- assert 'ERROR extracting' not in result.output
261
- except Exception as e:
+ if result.exit_code != 0:
262
print(result.output)
263
- raise e
+ assert 'ERROR extracting' not in result.output
0 commit comments