Skip to content

Commit 6730bea

Browse files
author
Balaji Veeramani
committed
Appease black
1 parent 4a17b9a commit 6730bea

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/unit/sagemaker/test_deserializers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ def test_string_deserializer():
2424

2525
assert result == "[1, 2, 3]"
2626

27-
27+
2828
def test_bytes_deserializer():
2929
deserializer = BytesDeserializer()
3030

3131
result = deserializer.deserialize(io.BytesIO(b"[1, 2, 3]"), "application/json")
3232

33-
assert result == b"[1, 2, 3]"
33+
assert result == b"[1, 2, 3]"

tests/unit/test_predictor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ def test_json_deserializer_invalid_data():
180180
with pytest.raises(ValueError) as error:
181181
json_deserializer(io.BytesIO(b"[[1]"), "application/json")
182182
assert "column" in str(error)
183-
183+
184184

185185
def test_stream_deserializer():
186186
stream, content_type = StreamDeserializer()(io.BytesIO(b"[1, 2, 3]"), "application/json")

0 commit comments

Comments
 (0)