============================= test session starts ==============================
platform linux -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-0.13.1
rootdir: /build/python-deepdiff/src/deepdiff-5.6.0, configfile: pytest.ini
collected 645 items

tests/test_anyset.py ....s                                               [  0%]
tests/test_cache.py ss....                                               [  1%]
tests/test_command.py .......................                            [  5%]
tests/test_delta.py .................................................... [ 13%]
.................................                                        [ 18%]
tests/test_diff_math.py ....                                             [ 19%]
tests/test_diff_numpy.py ............                                    [ 20%]
tests/test_diff_other.py .........                                       [ 22%]
tests/test_diff_text.py ................................................ [ 29%]
....................................................sss................. [ 40%]
...............                                                          [ 43%]
tests/test_diff_tree.py .............s                                   [ 45%]
tests/test_distance.py ......................................            [ 51%]
tests/test_hash.py ..................................................... [ 59%]
...........................                                              [ 63%]
tests/test_helper.py ...................................                 [ 69%]
tests/test_ignore_order.py ............................................. [ 76%]
..................                                                       [ 78%]
tests/test_lfucache.py ....                                              [ 79%]
tests/test_model.py .....................                                [ 82%]
tests/test_operators.py ....                                             [ 83%]
tests/test_path.py ............                                          [ 85%]
tests/test_search.py ................................................... [ 93%]
..........                                                               [ 94%]
tests/test_serialization.py FFFF..............................           [100%]

=================================== FAILURES ===================================
__________________ TestSerialization.test_serialization_text ___________________

self = <tests.test_serialization.TestSerialization object at 0x4103ec05e0>

    def test_serialization_text(self):
        ddiff = DeepDiff(t1, t2)
>       assert "builtins.list" in ddiff.to_json_pickle()
E       TypeError: argument of type 'NoneType' is not iterable

tests/test_serialization.py:31: TypeError
____________________ TestSerialization.test_deserialization ____________________

self = <tests.test_serialization.TestSerialization object at 0x41065d7cd0>

    def test_deserialization(self):
        ddiff = DeepDiff(t1, t2)
        jsoned = ddiff.to_json_pickle()
        ddiff2 = DeepDiff.from_json_pickle(jsoned)
>       assert ddiff == ddiff2
E       assert {'type_changes': {"root[4]['b']": {'old_type': <class 'list'>, 'new_type': <class 'str'>, 'old_value': [1, 2, 3], 'new_value': 'world\n\n\nEnd'}}} == None

tests/test_serialization.py:39: AssertionError
__________________ TestSerialization.test_serialization_tree ___________________

self = <tests.test_serialization.TestSerialization object at 0x4103ec2a70>

    def test_serialization_tree(self):
        ddiff = DeepDiff(t1, t2, view='tree')
        pickle_jsoned = ddiff.to_json_pickle()
>       assert "world" in pickle_jsoned
E       TypeError: argument of type 'NoneType' is not iterable

tests/test_serialization.py:44: TypeError
_________________ TestSerialization.test_deserialization_tree __________________

self = <tests.test_serialization.TestSerialization object at 0x41063e7e50>

    def test_deserialization_tree(self):
        ddiff = DeepDiff(t1, t2, view='tree')
        jsoned = ddiff.to_json_pickle()
        ddiff2 = DeepDiff.from_json_pickle(jsoned)
>       assert 'type_changes' in ddiff2
E       TypeError: argument of type 'NoneType' is not iterable

tests/test_serialization.py:52: TypeError
=============================== warnings summary ===============================
../../../../usr/lib/python3.10/site-packages/clevercsv/_optional.py:14
  /usr/lib/python3.10/site-packages/clevercsv/_optional.py:14: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
    import distutils.version

-- Docs: https://docs.pytest.org/en/stable/warnings.html
=========================== short test summary info ============================
FAILED tests/test_serialization.py::TestSerialization::test_serialization_text
FAILED tests/test_serialization.py::TestSerialization::test_deserialization
FAILED tests/test_serialization.py::TestSerialization::test_serialization_tree
FAILED tests/test_serialization.py::TestSerialization::test_deserialization_tree
============= 4 failed, 634 passed, 7 skipped, 1 warning in 14.77s =============
[1m[31m==> ERROR:[m[1m A failure occurred in check().[m
[1m    Aborting...[m
