Skip to content

Commit d229611

Browse files
committed
Fix error case
1 parent a568291 commit d229611

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

model-archiver/model_archiver/tests/integ_tests/test_integration_model_archiver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def run_test(test, args, mocker):
5656
generate_model_archive()
5757
except Exception as exc:
5858
if test.get("expect-error") is not True:
59-
assert 0, "{}".format(exc.output)
59+
assert 0, str(exc)
6060
else:
6161
return 0
6262
# In case we expect an error we should not be here

0 commit comments

Comments
 (0)