Skip to content

Commit e342aa6

Browse files
authored
Changing assertion to check only existence (#63)
1 parent 66aba8a commit e342aa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/test_distributed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def test_distributed(instance_type, sagemaker_session, docker_image_uri):
7474
data = np.random.rand(32, 32, 3)
7575
predict_response = json_predictor.predict(data)
7676

77-
assert len(predict_response['outputs']['probabilities']['floatVal']) == 10
77+
assert predict_response['outputs']['probabilities']
7878

7979

8080
def test_pipe_mode(instance_type, sagemaker_session, docker_image_uri):

0 commit comments

Comments
 (0)