File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed
sagemaker-core/tests/unit/generated Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -373,22 +373,21 @@ def test_serialize_method_nested_shape():
373373 }
374374
375375
376+ def test_serialize_bytes_returns_bytes_as_is ():
377+ result = serialize (b'1' )
378+ assert result == b'1'
376379
377- def test_serialize_with_bytes_value_returns_bytes ():
380+
381+ def test_serialize_dict_with_bytes_value ():
378382 result = serialize ({'body' : b'1' })
379383 assert result == {'body' : b'1' }
380384
381385
382- def test_serialize_with_bytes_in_list ():
383- result = serialize ([b'hello' , b'world' ])
384- assert result == [b'hello' , b'world' ]
385-
386-
387- def test_is_not_primitive_with_bytes_returns_false ():
388- assert is_not_primitive (b'test' ) is False
386+ def test_is_not_primitive_with_bytes ():
387+ assert is_not_primitive (b'hello' ) is False
389388
390389
391- def test_is_primitive_class_with_bytes_returns_true ():
390+ def test_is_primitive_class_with_bytes ():
392391 assert is_primitive_class (bytes ) is True
393392
394393
You can’t perform that action at this time.
0 commit comments