OwlCyberSecurity - MANAGER
Edit File: test_compare.cpython-311.pyc
� ������h]������������������������j����d�dl�Z�d�dlmZ�d�dlmZmZ�d�dlmZ�d�dlmZ�d�dl m Z �d�dlmZ�d�dl mZmZmZ�d�d lmZmZ�d�d l�mZ�d�dlmZmZmZmZmZmZ�d�dlmZ�d�d lm Z m!Z!�d�dl"m#Z#��ed������������Z$d��Z%�e&�e��������������j'��������j(��������������������Z)�e*��������������Z+eZ,�G�d��d������������Z-e+e+ddefd�Z.�G�d��de*������������Z/�G�d��de/e#������������Z0�G�d��de/������������Z1�G�d��de*������������Z2�G�d��de������������Z3�G�d��de3������������Z4�G�d ��d!e*������������Z5�G�d"��d#e5������������Z6�G�d$��d%e/������������Z7dS�)&�����N)�ABC)�date�datetime)�Decimal)�partial)� namedtuple)�ShouldAssert)�SampleClassA�SampleClassB�Slotted)�Mock�call)�compile)� Comparison�Replacer�ShouldRaise�compare� generator� singleton)� PY_37_PLUS)�compare_sequence�compare_object)�TestCasez0x[0-9A-Fa-f]+c������������������8�����t��������������������������������d|�������������S�)Nz...)�hexaddr�sub)�raws��� �p/builddir/build/BUILD/cloudlinux-venv-1.0.8/venv/lib/python3.11/site-packages/testfixtures/tests/test_compare.py�hexsubr������s�������;�;�u�c�"�"�"�����c�������������������������e�Zd�Zd��Zd��ZdS�)�Lazyc�����������������������||�_���������d�S��N��message)�selfr&���s��� r����__init__z Lazy.__init__)���s ����������r ���c�����������������������|�j���������S�r$���r%����r'���s��� r����__str__zLazy.__str__,���s �������|�r ���N)�__name__� __module__�__qualname__r(���r+�����r ���r���r"���r"���'���s2���������������������������r ���r"���c����������������������g�}|�|fD�] }|t�����������ur|���������������������|��������������! ��||i�|���t����������d�������������#�t����������$�r�}t ����������|t����������������������s��t����������|j��������d���������������������} |�t����������| |d��������������| |k����sJ��n4|���������������������| ������������st����������| �d|j �����������������������Y�d�}~d�S�Y�d�}~d�S�d�}~ww�xY�w)NzNo exception raised!r���T)�expected�show_whitespacez did not match ) �marker�append�AssertionError� Exception� isinstancer����args�_compare�match�pattern) �x_�y_r&����regexr����kwr8����value�e�actuals ��� r����check_raisesrC���0���sC����� �D��R������������K�K������5�����������3�4�4�4�����������!�^�,�,�� �����q� �"�"�����V�g�t�D�D�D�D��W�$�$�$�$�$��;�;�v�&�&�� �$�-3�V�V�U�]�]�C������ �� �� �� �� �� ��%�$�$�$�$�$��������s����A���� C� A;C�Cc�������������������������e�Zd�Zd��ZdS�)� CompareHelperc�����������������������t����������|i�|���d�S�r$����rC���)r'���r8���r?���s��� r���rC���zCompareHelper.check_raisesK���s�������d�!�b�!�!�!�!�!r ���N)r,���r-���r.���rC���r/���r ���r���rE���rE���I���s#��������������"��"��"��"��"r ���rE���c��������������������h����e�Zd�Zd��Zd��Zd��Zd��Zd��Zd��Zd��Z d��Z d ��Zd ��Zd��Z d��Zd ��Zd��Zd��Zd��Zd��Zd��Zd��Zd��Zd��Zd��Zd��Zd��Zd��Zd��Zd��Zd��Zd��Zd��Z d��Z!d ��Z"d!��Z#d"��Z$d#��Z%d$��Z&d%��Z'd&��Z(d'��Z)d(��Z*d)��Z+d*��Z,d+��Z-d,��Z.d-��Z/d.��Z0d/��Z1d0��Z2d1��Z3d2��Z4d3��Z5d4��Z6d5��Z7d6��Z8d7��Z9d8��Z:d9��Z;d:��Z<d;��Z=d<��Z>d=��Z?d>��Z@d?��ZAd@��ZBdA��ZCdB��ZDdC��ZEdD��ZFdE��ZGdF��ZHdG��ZIdH��ZJdI��ZKdJ��ZLdK��ZMdL��ZNdM��ZOdN��ZPdO��ZQdP��ZRdQ��ZSdR��ZTdS��ZUdT��ZVdU��ZWdV��ZXdW��ZYdX��ZZdY��Z[dZ��Z\d[��Z]d\��Z^d]��Z_d^��Z`d_��Zad`��Zbda��Zcdb��Zddc��Zedd��Zfde��Zgdf��Zhdg��Zidh��Zjdi��Zkdj��Zldk��Zmdl��Zndm��Zodn��Zpdo��Zqdp��Zrdq��Zsdr��Ztds��Zudt��Zvdu��Zwdv��Zxdw��Zydx��Zzdy��Z{dz��Z|d{��Z}d|��Z~d}��Zd~��Z�d��Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z��G�d���d�e�������������Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d���Z�d�S�)��TestComparec������������������B�����t������������������������}t����������||�������������d�S�r$�����objectr���)r'����os��� r����test_object_samezTestCompare.test_object_sameQ���s�������H�H����1� � � � � r ���c������������������d�����|�����������������������t������������������������t������������������������d�������������d�S�)Nz0<object object at ...> != <object object at ...>)rC���rL���r*���s��� r����test_object_diffzTestCompare.test_object_diffU���s4����������H�H�f�h�h�>� �� �� �� �� r ���c������������������4�����|�����������������������ddd�������������d�S�)N�x����z'x' != 1rG���r*���s��� r����test_different_typesz TestCompare.test_different_types[���s ���������#�q�*�-�-�-�-�-r ���c������������������&�����t����������dd�������������d�S��NrS����r���r*���s��� r����test_number_samezTestCompare.test_number_same^���s��������1� � � � � r ���c������������������4�����|�����������������������ddd�������������d�S�)NrS�������z1 != 2rG���r*���s��� r����test_number_differentz!TestCompare.test_number_differenta���s ���������!�Q��)�)�)�)�)r ���c������������������h�����|�����������������������t����������d������������t����������d������������d�������������d�S�)NrS���rZ���zDecimal('1') != Decimal('2')�rC���r���r*���s��� r����test_decimal_differentz"TestCompare.test_decimal_differentd���s7���������'�!�*�*�g�a�j�j�8� :�� :�� :�� :�� :r ���c������������������:�����|�����������������������ddddd��������������d�S�)NrS���rZ���z1 (expected) != 2 (actual)r1���rB�����x_label�y_labelrG���r*���s��� r����test_different_with_labelsz&TestCompare.test_different_with_labelsh���s:���������!�Q� <�",�h�� �� @�� @�� @�� @�� @r ���c������������������&�����t����������dd�������������d�S�)NrR���rW���r*���s��� r����test_string_samezTestCompare.test_string_samel���s��������S�����r ���c������������������4�����|�����������������������ddd�������������d�S�)N�a����bz'a' != b'b'rG���r*���s��� r����test_unicode_string_differentz)TestCompare.test_unicode_string_differento���s ���������#�t�]�3�3�3�3�3r ���c������������������8�����d}|�����������������������dd|�������������d�S�)Nz! b'12345678901' != b'12345678902's���12345678901s���12345678902rG����r'���r1���s��� r����test_bytes_differentz TestCompare.test_bytes_differentr���s9������ �� �� ������ �� �� �� �� r ���c������������������*�����t����������ddd��������������d�S�)Nr ���T)rB���r1����strictrW���r*���s��� r����test_bytes_same_strictz"TestCompare.test_bytes_same_strict���s�������s�S��6�6�6�6�6�6r ���c������������������6�����|�����������������������ddd��������������d�S�)Ns���{"byte_pound":"b'\\xa3'"}s���{"byte_pound":"b\'\xa3'"}zY b'{"byte_pound":"b\\\'\\xa3\'"}' (expected) != b'{"byte_pound":"b\'\\\\xa3\'"}' (actual))rB���r1���r&���rG���r*���s��� r����test_moar_bytes_differentz%TestCompare.test_moar_bytes_different����s5���������3�5�H� � �� �� �� �� �� r ���c������������������4�����|�����������������������ddd�������������d�S�)N� xxxxxxxxx� yyyyyyyyyz'\nxxxxxxxxx' != '\nyyyyyyyyy'rG���r*���s��� r����test_string_diff_shortz"TestCompare.test_string_diff_short����s,����������,�.� �� �� �� �� r ���c������������������4�����|�����������������������ddd�������������d�S�)N�xxxxxxxxxxx�yyyyyyyyyyyz 'xxxxxxxxxxx' != 'yyyyyyyyyyy'rG���r*���s��� r����test_string_diff_longz!TestCompare.test_string_diff_long����s,����������F�0� �� �� �� �� r ���c������������������4�����|�����������������������ddd�������������d�S�)N�xxxxx yyyyy�xxxxx zzzzzz: --- first +++ second @@ -1,2 +1,2 @@ xxxxx -yyyyy +zzzzzrG���r*���s��� r����test_string_diff_long_newlinesz*TestCompare.test_string_diff_long_newlines����s-����������.�N� �� �� �� �� r ���c������������������:�����|�����������������������ddddd��������������d�S�)Nrs���rt���z2'\nxxxxxxxxx' (expected) != '\nyyyyyyyyy' (actual)r1���rB���r`���rG���r*���s��� r����test_string_diff_short_labelsz)TestCompare.test_string_diff_short_labels����s7����������,�B��� � �� �� �� �� �� r ���c������������������:�����|�����������������������ddddd��������������d�S�)Nrw���rx���z3 'xxxxxxxxxxx' (expected) != 'yyyyyyyyyyy' (actual)r1���rB���r`���rG���r*���s��� r����test_string_diff_long_labelsz(TestCompare.test_string_diff_long_labels����s7����������F�D��� � �� �� �� �� �� r ���c������������������:�����|�����������������������ddddd��������������d�S��Nr{���r|���z= --- expected +++ actual @@ -1,2 +1,2 @@ xxxxx -yyyyy +zzzzzr1���rB���r`���rG���r*���s��� r����%test_string_diff_long_newlines_labelsz1TestCompare.test_string_diff_long_newlines_labels�����:����������.� 6���� �� �� �� �� �� r ���c������������������D�����t����������d������������}t����������||�������������d�S��N�some message�� ValueErrorr���)r'���rA���s��� r����test_exception_same_objectz&TestCompare.test_exception_same_object����s �������~�&�&����1� � � � � r ���c������������������|�����t����������d������������}t����������d������������}t����������t����������|������������|�������������d�S�r�����r����r����C�r'����e1�e2s��� r����test_exception_same_c_wrapperz)TestCompare.test_exception_same_c_wrapper�����8������ �� '� '�� �� '� '����"���r�����r ���c������������������b�����t����������d������������}t����������d������������}t����������||�������������d�S�r����r����r����s��� r����test_exception_different_objectz+TestCompare.test_exception_different_object����s-������ �� '� '�� �� '� '����B�����r ���c������������������|�����t����������d������������}t����������d������������}t����������t����������|������������|�������������d�S�r����r����r����s��� r����)test_exception_different_object_c_wrapperz5TestCompare.test_exception_different_object_c_wrapper����r����r ���c�����������������������t����������d������������}t����������d������������}t����������r|����������������������||d�������������d�S�|����������������������||d�������������d�S�)Nr�����some other messagez>ValueError('some message') != ValueError('some other message')z@ValueError('some message',) != ValueError('some other message',))r����r���rC���r����s��� r����test_exception_diffzTestCompare.test_exception_diff����s{������ �� '� '�� �,� -� -���� �����B�P� �� �� �� �� � � ����B�R� �� �� �� �� r ���c������������������������t����������d������������}t����������d������������}|����������������������t����������|������������|d���������������������t����������rdnd��������������������������d�S�)Nr����r����z� <C:builtins.ValueError(failed)> attributes differ: 'args': ('some message',) (Comparison) != ('some other message',) (actual) </C:builtins.ValueError> != ValueError('some other message'{message})���,r%���)r����rC���r�����formatr���r����s��� r����test_exception_diff_c_wrapperz)TestCompare.test_exception_diff_c_wrapper����si������ �� '� '�� �,� -� -����� �b�E�E�2�=���v�J�7�b�b�C�v�8�8� :�� :�� :�� :�� :r ���c������������������<�����|�����������������������g�d�g�d�d�������������d�S�)N)�quite a long string 1�quite a long string 2�quite a long string 3�quite a long string 4zquite a long string 5zquite a long string 6zquite a long string 7zquite a long string 8)r����r����r����r����zquite a long string 9zquite a long string 10zquite a long string 11zquite a long string 12a���sequence not as expected: same: ['quite a long string 1', 'quite a long string 2', 'quite a long string 3', 'quite a long string 4'] first: ['quite a long string 5', 'quite a long string 6', 'quite a long string 7', 'quite a long string 8'] second: ['quite a long string 9', 'quite a long string 10', 'quite a long string 11', 'quite a long string 12'] While comparing [4]: 'quite a long string 5' != 'quite a long string 9'rG���r*���s��� r����test_sequence_longzTestCompare.test_sequence_long����sJ��������� ?�� ?�� ?� A�� A�� A� &� �� �� �� �� r ���c������������������B�����|�����������������������g�d�g�d�ddd��������������d�S�)N�rS���rZ��������rS���rZ�������zCsequence not as expected: same: [1, 2] expected: [3] actual: [4]r1���rB���r`���rG���r*���s��� r����'test_sequence_different_labels_suppliedz3TestCompare.test_sequence_different_labels_supplied ��sC����������I�I�y�y�y� ����� �� �� �� �� �� r ���c������������������.�����t����������g�d�g�d��������������d�S��Nr����rW���r*���s��� r����test_list_samezTestCompare.test_list_same��s ������� � � �9�9�9�%�%�%�%�%r ���c������������������<�����|�����������������������g�d�g�d�d�������������d�S�)Nr����r�����@sequence not as expected: same: [1, 2] first: [3] second: [4]rG���r*���s��� r����test_list_differentzTestCompare.test_list_different��s6����������I�I�y�y�y� � �� �� �� �� r ���c������������������<�����|�����������������������g�d�g�d�d�������������d�S�)N)rS���rZ���g������@)rS���rZ���g������@zDsequence not as expected: same: [1, 2] first: [3.0] second: [4.0]rG���r*���s��� r����test_list_different_floatz%TestCompare.test_list_different_float&��s6����������K�K���� � �� �� �� �� r ���c������������������t�����|�����������������������ddt����������d������������gddt����������d������������gd�������������d�S�)NrS���rZ���r����r����zVsequence not as expected: same: [1, 2] first: [Decimal('3')] second: [Decimal('4')]r]���r*���s��� r����test_list_different_decimalz'TestCompare.test_list_different_decimal2��sH��������� ��7�1�:�:���A�w�q�z�z� 2� � �� �� �� �� r ���c������������������8�����|�����������������������dgdgd�������������d�S�)NrS���rZ����<sequence not as expected: same: [] first: [1] second: [2]rG���r*���s��� r����test_list_totally_differentz'TestCompare.test_list_totally_different>��s2��������� �C�!�� � �� �� �� �� r ���c������������������<�����|�����������������������ddgg�d�d�������������d�S�)NrS���rZ���r����z?sequence not as expected: same: [1, 2] first: [] second: [3]rG���r*���s��� r����test_list_first_shorterz#TestCompare.test_list_first_shorterJ��s6��������� ��F�I�I�I� � �� �� �� �� r ���c������������������<�����|�����������������������g�d�ddgd�������������d�S�)Nr����rS���rZ���z?sequence not as expected: same: [1, 2] first: [3] second: []rG���r*���s��� r����test_list_second_shorterz$TestCompare.test_list_second_shorterS��s6����������I�I��1�v� � �� �� �� �� r ���c������������������^�����t����������t����������d�������������t����������d��������������������������d�S�)NrS����rR����r����dictr*���s��� r����test_dict_samezTestCompare.test_dict_same\��s(��������q� � � �4�!�9�9�9�%�%�%�%�%r ���c������������������h�����|�����������������������t������������������������t����������d�������������d�������������d�S�)Nr������zz6dict not as expected: in second but not first: 'z': 3�rC���r����r*���s��� r����test_dict_first_missing_keysz(TestCompare.test_dict_first_missing_keys_��s:����������F�F�D�1�I�I�I� � �� �� �� �� r ���c������������������h�����|�����������������������t����������d�������������t������������������������d�������������d�S�)Nr����r����z6dict not as expected: in first but not second: 'z': 3r����r*���s��� r����test_dict_second_missing_keysz)TestCompare.test_dict_second_missing_keysh��s:����������1�I�I�I�t�v�v� � �� �� �� �� r ���c������������������l�����|�����������������������t����������d�������������t����������d�������������d�������������d�S�)NrS���r����rZ���z1dict not as expected: values differ: 'x': 1 != 2r����r*���s��� r����test_dict_values_differentz&TestCompare.test_dict_values_differentq��s>����������1�I�I�I�t�a�y�y�y� � �� �� �� �� r ���c������������������p�����|�����������������������t����������dd�������������t����������dd�������������d�������������d�S�)NrS����rR����yrZ���z=dict not as expected: values differ: 'x': 1 != 2 'y': 1 != 2r����r*���s��� r����%test_dict_identical_non_matching_intsz1TestCompare.test_dict_identical_non_matching_intsz��sB����������1��N�N�N�D�1��N�N�N� � �� �� �� �� r ���c������������������p�����|�����������������������t����������dd�������������t����������dd�������������d�������������d�S�)Ng�������?r����g�������@zEdict not as expected: values differ: 'x': 1.0 != 2.0 'y': 1.0 != 2.0r����r*���s��� r����'test_dict_identical_non_matching_floatsz3TestCompare.test_dict_identical_non_matching_floats���sH����������3�#�����s�c� 2� 2� 2� � �� �� �� �� r ���c������������������@�����|�����������������������d�d�d�ddd�d�������������d�S�)N)�foo�bazrS���z�dict not as expected: values differ: 'baz': None != 1 'foo': None != 1 While comparing ['baz']: None != 1 While comparing ['foo']: None != 1rG���r*���s��� r����0test_dict_identical_none_matching_nones_and_onesz<TestCompare.test_dict_identical_none_matching_nones_and_ones���sK����������� �� � ��� �� � 1� �� �� �� �� r ���c������������������v�����|�����������������������t����������dd�������������t����������dd�������������ddd� �������������d�S�) NrS���rZ���r����r�����rR���r����z�dict not as expected: in expected but not actual: 'y': 2 in actual but not expected: 'z': 3 values differ: 'x': 1 (expected) != 2 (actual)r1���rB���r`���r����r*���s��� r����test_dict_labels_specifiedz&TestCompare.test_dict_labels_specified���sO����������1��N�N�N�D�1��N�N�N� .����� �� �� �� �� �� r ���c������������������.�����t����������dd�idd�i�������������d�S�)N�rS���rZ���rW���r*���s��� r����test_dict_tuple_keys_same_valuez+TestCompare.test_dict_tuple_keys_same_value���s �������������/�/�/�/�/r ���c������������������<�����|�����������������������ddiddid�������������d�S�)Nr����r�����*���z5dict not as expected: values differ: (1, 2): 3 != 42rG���r*���s��� r����$test_dict_tuple_keys_different_valuez0TestCompare.test_dict_tuple_keys_different_value���s7��������� �Q�K� �R�L� � �� �� �� �� r ���c������������������t�����|�����������������������t����������ddd�������������t����������ddd�������������d�������������d�S�) NrS���rZ���r����)rR���r����rg���r��������)rR���r����rg���z�dict not as expected: same: ['x'] in first but not second: 'y': 2 in second but not first: 'z': 3 values differ: 'a': 4 != 5r����r*���s��� r����test_dict_full_diffzTestCompare.test_dict_full_diff���sL����������1��Q������Q�!�!4�!4�!4� � �� �� �� �� r ���c�����������������������|�����������������������t����������dddddd�������������t����������dddddd�������������d�������������d�S�) NrS���rZ���r����r����)�xa�xb�ya�yb�aa�abr����)r����r�����za�zbr����r����z�dict not as expected: same: ['xa', 'xb'] in first but not second: 'ya': 1 'yb': 2 in second but not first: 'za': 3 'zb': 4 values differ: 'aa': 3 != 5 'ab': 4 != 5r����r*���s��� r����test_dict_consistent_orderingz)TestCompare.test_dict_consistent_ordering���sY����������A�!��a�A�!�4�4�4��A�!��a�A�!�4�4�4� � �� �� �� �� r ���c������������������D�����|�����������������������dddd�dddd�d�������������d�S�)NrS���rZ���r����)N����rS���r����z@dict not as expected: same: [6, None] values differ: 1: 3 != 4rG���r*���s��� r����(test_dict_consistent_ordering_types_samez4TestCompare.test_dict_consistent_ordering_types_same���sC�����������q�!�!���q�!�!� � �� �� �� �� r ���c������������������:�����|�����������������������ddd�i�d�������������d�S�)NrS���rZ����Nr����z<dict not as expected: in first but not second: 3: 2 None: 1rG���r*���s��� r����+test_dict_consistent_ordering_types_x_not_yz7TestCompare.test_dict_consistent_ordering_types_x_not_y���s5�����������O�O�� � �� �� �� �� r ���c������������������:�����|�����������������������i�ddd�d�������������d�S�)NrS���rZ���r����z<dict not as expected: in second but not first: 3: 2 None: 1rG���r*���s��� r����+test_dict_consistent_ordering_types_y_not_xz7TestCompare.test_dict_consistent_ordering_types_y_not_x��s5������������O�O� � �� �� �� �� r ���c������������������@�����|�����������������������ddd�ddd�d�������������d�S�)NrS���rZ���)Nr����r����r����z<dict not as expected: values differ: 6: 2 != 4 None: 1 != 3rG���r*���s��� r����)test_dict_consistent_ordering_types_valuez5TestCompare.test_dict_consistent_ordering_types_value��s;�����������O�O���O�O� � �� �� �� �� r ���c������������������^�����t����������t����������dg������������t����������dg�������������������������d�S�rV����r����setr*���s��� r���� test_set_samezTestCompare.test_set_same��s(��������Q�C���#�q�c�(�(�#�#�#�#�#r ���c������������������h�����|�����������������������t������������������������t����������dg������������d�������������d�S�)Nr����z4set not as expected: in second but not first: [3] �rC���r����r*���s��� r����test_set_first_missing_keysz'TestCompare.test_set_first_missing_keys��s:����������E�E�3��s�8�8� � �� �� �� �� r ���c������������������h�����|�����������������������t����������dg������������t������������������������d�������������d�S�)Nr����z4set not as expected: in first but not second: [3] r����r*���s��� r����test_set_second_missing_keysz(TestCompare.test_set_second_missing_keys$��s:������������H�H�c�e�e� � �� �� �� �� r ���c������������������p�����|�����������������������t����������g�d�������������t����������g�d�������������d�������������d�S�)Nr�����rS���r����r����zXset not as expected: in first but not second: [2, 4] in second but not first: [3, 5] r����r*���s��� r����test_set_full_diffzTestCompare.test_set_full_diff.��sB���������� � � �N�N�C� � � �N�N� � �� �� �� �� r ���c������������������<�����|�����������������������d�dhddhd�������������d�S�)NrS���r����rZ���z\set not as expected: in first but not second: [1, None] in second but not first: ['', 2] rG���r*���s��� r����test_set_type_orderingz"TestCompare.test_set_type_ordering;��s6��������� �1�I��A�w� � �� �� �� �� r ���c������������������v�����|�����������������������t����������g�d�������������t����������g�d�������������ddd��������������d�S�)Nr����r����z^set not as expected: in expected but not actual: [2, 4] in actual but not expected: [3, 5] r1���rB���r`���r����r*���s��� r����test_set_labelszTestCompare.test_set_labelsH��sO���������� � � �N�N�C� � � �N�N� ����� �� �� �� �� �� r ���c������������������&�����t����������dd�������������d�S�r����rW���r*���s��� r����test_tuple_samezTestCompare.test_tuple_sameW��s������� �9�%�%�%�%�%r ���c������������������4�����|�����������������������ddd�������������d�S�)Nr����r�����Bsequence not as expected: same: (1, 2) first: (3,) second: (4,)rG���r*���s��� r����test_tuple_differentz TestCompare.test_tuple_differentZ��s.����������y� � �� �� �� �� r ���c������������������4�����|�����������������������ddd�������������d�S�)N)rS���)rZ����>sequence not as expected: same: () first: (1,) second: (2,)rG���r*���s��� r����test_tuple_totally_differentz(TestCompare.test_tuple_totally_differentc��s.����������5� � �� �� �� �� r ���c������������������4�����|�����������������������ddd�������������d�S�)Nr����r�����@sequence not as expected: same: (1, 2) first: () second: (3,)rG���r*���s��� r����test_tuple_first_shorterz$TestCompare.test_tuple_first_shorterl��s.����������I� � �� �� �� �� r ���c������������������4�����|�����������������������ddd�������������d�S�)Nr����r�����@sequence not as expected: same: (1, 2) first: (3,) second: ()rG���r*���s��� r����test_tuple_second_shorterz%TestCompare.test_tuple_second_shorteru��s.����������v� � �� �� �� �� r ���c������������������b�����t����������t����������ddd������������t����������ddd�������������������������d�S�)NrS���rZ���r�����r���r���r*���s��� r����test_generator_samezTestCompare.test_generator_same~��s0������� �!�Q��"�"�I�a��A�$6�$6�7�7�7�7�7r ���c������������������p�����|�����������������������t����������ddd������������t����������ddd������������d�������������d�S�)NrS���rZ���r����r����r���rC���r���r*���s��� r����test_generator_differentz$TestCompare.test_generator_different���sF����������a��A��� �!�Q�� 2� 2� � �� �� �� �� r ���c������������������h�����|�����������������������t����������d������������t����������d������������d�������������d�S�)NrS���rZ���r��r��r*���s��� r���� test_generator_totally_differentz,TestCompare.test_generator_totally_different���s:����������a�N�N�I�a�N�N� � �� �� �� �� r ���c������������������n�����|�����������������������t����������dd������������t����������ddd������������d�������������d�S�)NrS���rZ���r����r��r��r*���s��� r����test_generator_first_shorterz(TestCompare.test_generator_first_shorter���sB����������a��O�O�Y�q�!�Q�/�/� � �� �� �� �� r ���c������������������n�����|�����������������������t����������ddd������������t����������dd������������d�������������d�S�)NrS���rZ���r����r��r��r*���s��� r����test_generator_second_shortedz)TestCompare.test_generator_second_shorted���sB����������a��A��� �!�Q��� � �� �� �� �� r ���c����������� ������������|�����������������������t����������ddt����������d������������d������������t����������ddt����������d������������d������������d�������������d�S�)NrS���rZ���r����r����r����zgsequence not as expected: same: (1, 2, <generator object generator at ...>) first: (4,) second: (5,)r��r*���s��� r����test_nested_generator_differentz+TestCompare.test_nested_generator_different���sW����������a��I�a�L�L�!�,�,��a��I�a�L�L�!�,�,� � �� �� �� �� r ���c����������� ������������t����������t����������dddd������������t����������ddt����������d������������d�������������������������d�S�)NrS���rZ����r����r����r����r��r*���s��� r���� test_nested_generator_tuple_leftz,TestCompare.test_nested_generator_tuple_left���sF��������a��E�1�%�%��a��I�a�L�L�!�,�,� �� �� �� �� r ���c����������� ������������t����������t����������ddt����������d������������d������������t����������dddd�������������������������d�S�)NrS���rZ���r����r����r"��r��r*���s��� r����!test_nested_generator_tuple_rightz-TestCompare.test_nested_generator_tuple_right���sF��������a��I�a�L�L�!�,�,��a��E�1�%�%� �� �� �� �� r ���c������������������D�����t����������dt����������ddd�������������������������d�S�)Nr����rS���rZ���r����r��r*���s��� r����test_sequence_and_generatorz'TestCompare.test_sequence_and_generator���s$������� �9�Q��1�-�-�.�.�.�.�.r ���c������������������x�����t����������d������������}|����������������������dt����������ddd������������|ddd� �������������d�S�) Nz�\(1, 2, 3\) \(<(class|type) 'tuple'>\) \(expected\) != <generator object (generator )?at... \(<(class|type) 'generator'>\) \(actual\)r����rS���rZ���r����Tr1���rB���)r>���rn���ra���rb���)r���rC���r���rk���s��� r����"test_sequence_and_generator_strictz.TestCompare.test_sequence_and_generator_strict���s\������� 8����� � ����y��A�q�)�)������ �� �� �� �� �� r ���c������������������D�����t����������t����������ddd������������d�������������d�S�)NrS���rZ���r����r����r��r*���s��� r����test_generator_and_sequencez'TestCompare.test_generator_and_sequence���s$������� �!�Q��"�"�I�.�.�.�.�.r ���c������������������^�����t����������t����������dd������������t����������dd�������������������������d�S�)NrS���r����)r����ranger*���s��� r���� test_iterable_with_iterable_samez,TestCompare.test_iterable_with_iterable_same���s(��������a����U�1�a�[�[�)�)�)�)�)r ���c������������������l�����|�����������������������t����������dd������������t����������dd������������d�������������d�S�)NrS���r����r����r��)rC���r-��r*���s��� r����%test_iterable_with_iterable_differentz1TestCompare.test_iterable_with_iterable_different���s>����������!�Q�K�K��q�!��� � �� �� �� �� r ���c������������������`�����t����������t����������dd������������t����������ddd�������������������������d�S�)NrS���r����rZ���r����)r���r-��r���r*���s��� r����test_iterable_and_generatorz'TestCompare.test_iterable_and_generator���s,��������a����Y�q�!�Q�/�/�0�0�0�0�0r ���c�����������������������t����������d������������}|����������������������t����������dd������������t����������ddd������������|d��������������d�S�)Nzqrange\(1, 4\) \(<(class|type) 'x?range'>\) != <generator object (generator )?at... \(<(class|type) 'generator'>\)rS���r����rZ���r����T)r>���rn���)r���rC���r-��r���rk���s��� r����"test_iterable_and_generator_strictz.TestCompare.test_iterable_and_generator_strict���s^������� -����� � ����!�Q�K�K��1�a��+�+���� �� �� �� �� �� r ���c������������������`�����t����������t����������ddd������������t����������dd�������������������������d�S�)NrS���rZ���r����r����)r���r���r-��r*���s��� r����test_generator_and_iterablez'TestCompare.test_generator_and_iterable���s,������� �!�Q��"�"�E�!�Q�K�K�0�0�0�0�0r ���c������������������*�����t����������dg�d��������������d�S�r����rW���r*���s��� r����test_tuple_and_listzTestCompare.test_tuple_and_list���s������� �9�9�9�%�%�%�%�%r ���c������������������@�����d}|�����������������������dg�d�|d��������������d�S�)Nz9(1, 2, 3) (<class 'tuple'>) != [1, 2, 3] (<class 'list'>)r����T�rn���rG���rk���s��� r����test_tuple_and_list_strictz&TestCompare.test_tuple_and_list_strict���sA������1��� ����y�y�y���� �� �� �� �� �� r ���c������������������t������G�d��dt�����������������������}t�����������|d�������������|d������������d��������������d�S�)Nc�������������������������e�Zd�ZdS�)�9TestCompare.test_float_subclass_strict.<locals>.TestFloatN�r,���r-���r.���r/���r ���r���� TestFloatr>��������������������Dr ���r@��g�������?Tr:��)�floatr���)r'���r@��s��� r����test_float_subclass_strictz&TestCompare.test_float_subclass_strict��sW������ �� �� �� �� ��� �� �� �� � �$�����4����>�>�>�>�>�>r ���c������������������@������G�d��d������������}t����������||�������������d�S�)Nc�������������������������e�Zd�ZdS�)�2TestCompare.test_old_style_classes_same.<locals>.XNr?��r/���r ���r����XrF����rA��r ���rG��rW����r'���rG��s��� r����test_old_style_classes_samez'TestCompare.test_old_style_classes_same��s;������ �� �� �� �� �� �� �� ���1� � � � � r ���c������������������l�����d}�G�d��d������������}�G�d��d������������}|�����������������������|||�������������d�S�)Nz�<class 'testfixtures.tests.test_compare.TestCompare.test_default_style_classes_different.<locals>.X'> != <class 'testfixtures.tests.test_compare.TestCompare.test_default_style_classes_different.<locals>.Y'>c�������������������������e�Zd�ZdS�)�;TestCompare.test_default_style_classes_different.<locals>.XNr?��r/���r ���r���rG��rL����rA��r ���rG��c�������������������������e�Zd�ZdS�)�;TestCompare.test_default_style_classes_different.<locals>.YNr?��r/���r ���r����YrN����rA��r ���rO��rG����r'���r1���rG��rO��s��� r����$test_default_style_classes_differentz0TestCompare.test_default_style_classes_different��s{������ @�� � �� �� �� �� �� �� �� � �� �� �� �� �� �� �� ����!�Q��)�)�)�)�)r ���c������������������L������G�d��dt�����������������������}t����������||�������������d�S�)Nc�������������������������e�Zd�ZdS�)�2TestCompare.test_new_style_classes_same.<locals>.XNr?��r/���r ���r���rG��rT��!��rA��r ���rG��rK���rH��s��� r����test_new_style_classes_samez'TestCompare.test_new_style_classes_same ��s=������ �� �� �� �� ��� �� �� ���1� � � � � r ���c�����������������������d}�G�d��dt�����������������������}�G�d��dt�����������������������}|����������������������|||�������������d�S�)Nz�<class 'testfixtures.tests.test_compare.TestCompare.test_new_style_classes_different.<locals>.X'> != <class 'testfixtures.tests.test_compare.TestCompare.test_new_style_classes_different.<locals>.Y'>c�������������������������e�Zd�ZdS�)�7TestCompare.test_new_style_classes_different.<locals>.XNr?��r/���r ���r���rG��rX��.��rA��r ���rG��c�������������������������e�Zd�ZdS�)�7TestCompare.test_new_style_classes_different.<locals>.YNr?��r/���r ���r���rO��rZ��1��rA��r ���rO���rL���rC���rP��s��� r���� test_new_style_classes_differentz,TestCompare.test_new_style_classes_different%��s~������ <�� � �� �� �� �� ��� �� �� � �� �� �� �� ��� �� �� ����!�Q��)�)�)�)�)r ���c������������������8�����|�����������������������dddd��������������d�S�)Nz x z x z' x \n\r' != ' x \n \t'T�r2���rG���r*���s��� r����test_show_whitespacez TestCompare.test_show_whitespace5��s4����������z�)� �� �� �� �� �� �� r ���c������������������8�����|�����������������������dddd��������������d�S�)Nz 'z zP --- first +++ second @@ -1,2 +1,2 @@ -'\t \n' -" '" +'\r \n' +' 'Tr^��rG���r*���s��� r����test_show_whitespace_longz%TestCompare.test_show_whitespace_long=��s8���������� � ��!�� �� �� �� �� �� r ���c������������������*�����t����������ddd��������������d�S�)NrR���Tr^��rW���r*���s��� r����test_show_whitespace_equalz&TestCompare.test_show_whitespace_equalJ��s��������S�$�/�/�/�/�/�/r ���c������������������8�����|�����������������������dddd��������������d�S�)N)rS���rg���)rZ����bzFsequence not as expected: same: () first: (1, 'a') second: (2, 'b')Fr^��rG���r*���s��� r����9test_show_whitespace_not_used_because_of_other_differencezETestCompare.test_show_whitespace_not_used_because_of_other_differenceM��s9����������� ��"�� �� �� �� �� �� r ���c������������������4�����|�����������������������ddd�������������d�S�)Nz x z x z' x \n' != ' x \n'rG���r*���s��� r���� test_include_trailing_whitespacez,TestCompare.test_include_trailing_whitespace^��s,����������X�#� �� �� �� �� r ���c������������������*�����t����������ddd��������������d�S�)Nz x z x F��trailing_whitespacerW���r*���s��� r����test_ignore_trailing_whitespacez+TestCompare.test_ignore_trailing_whitespaced��s������� �:�5�A�A�A�A�A�Ar ���c������������������8�����|�����������������������dddd��������������d�S�)NrS���r�����1 != ''Frj��rG���r*���s��� r����*test_ignore_trailing_whitespace_non_stringz6TestCompare.test_ignore_trailing_whitespace_non_stringg��s4��������� �r�� %�� �� �� �� �� �� r ���c������������������8�����|�����������������������dddd��������������d�S�)Nz a b c za b c z'a\n b\n c' != 'a\nb\nc'Frj��rG���r*���s��� r����>test_ignore_trailing_whitespace_but_respect_leading_whitespacezJTestCompare.test_ignore_trailing_whitespace_but_respect_leading_whitespacen��s7������� �����+� %� � �� �� �� �� �� r ���c������������������4�����|�����������������������ddd�������������d�S�)Nz z z'\n \n' != '\n 'rG���r*���s��� r����test_include_blank_linesz$TestCompare.test_include_blank_linesx��s,����������V�"� �� �� �� �� r ���c������������������*�����t����������ddd��������������d�S�)Nz a b z a bF�� blanklinesrW���r*���s��� r����test_ignore_blank_linesz#TestCompare.test_ignore_blank_lines~��s/�����������u� .�� .�� .�� .�� .�� .r ���c������������������8�����|�����������������������dddd��������������d�S�)NrS���r����rn��Fru��rG���r*���s��� r����"test_ignore_blank_lines_non_stringz.TestCompare.test_ignore_blank_lines_non_string���s4��������� �r���� �� �� �� �� �� r ���c���������������������������fd�}t����������d������������5��t����������ddiddidt����������|i��������������d�d�d��������������d�S�#�1�swxY�w�Y���d�S�)Nc�����������������������������������������������|�ddi������������������������������������|ddi������������������������������������|���������������������d������������d�������������dS�)NrS���rZ���r�����bar� not equal)�assertEqual� get_option)rR���r�����contextr'���s��� �r����compare_dictz6TestCompare.test_supply_comparer.<locals>.compare_dict���s`����������Q��A��'�'�'����Q��A��'�'�'����W�/�/��6�6��>�>�>��;r ���r}��rS���rZ���r|��)r����� comparers)r ���r���r����)r'���r���s���` r����test_supply_comparerz TestCompare.test_supply_comparer���s�������� �� �� �� �� � ��+� &� &�� 4�� 4��Q��F�Q��F��#�\�2� 4�� 4�� 4�� 4� 4�� 4�� 4�� 4�� 4�� 4�� 4�� 4�� 4�� 4�� 4�� 4����� 4�� 4�� 4�� 4�� 4�� 4s����A�A� Ac����������������������t����������dd������������}t����������d������������5��t�����������|d�������������|d������������t����������t ����������d�������������|t ����������d�������������i��������������d�d�d��������������d�S�#�1�swxY�w�Y���d�S�) N�TestrR���zcompare class_rS���rZ���z compare tuple)�return_value�r���)r���r ���r����tupler ����r'����class_s��� r����test_register_more_specificz'TestCompare.test_register_more_specific���s��������F�C�(�(�� �*� +� +�� �� ��F�F�1�I�I�v�v�a�y�y��4�_�=�=�=��D�.>�?�?�?�� �� �� �� � �� �� �� �� �� �� �� �� �� �� �� ����� �� �� �� �� �� s����A A7�7A;�>A;c������������������&�����G�d��dt�����������������������}d��}t������������������������5�}|���������������������dt����������t����������i�������������|����������������������d�|d������������gd�|d������������gd||i� �������������d�d�d��������������d�S�#�1�swxY�w�Y���d�S�) Nc�������������������������e�Zd�Zd��Zd��ZdS�)�ATestCompare.test_extra_comparers_leave_existing.<locals>.MyObjectc�����������������������||�_���������d�S�r$�����name)r'���r���s��� r���r(���zJTestCompare.test_extra_comparers_leave_existing.<locals>.MyObject.__init__���� ������ �� � � r ���c�����������������������dS�)NzMyObject instancer/���r*���s��� r����__repr__zJTestCompare.test_extra_comparers_leave_existing.<locals>.MyObject.__repr__���s������*�*r ���N�r,���r-���r.���r(���r���r/���r ���r����MyObjectr������s2�������������� !�� !�� !� +�� +�� +�� +�� +r ���r���c������������������$�����|�j����������d|j�����������S�)Nz != r����rR���r����r���s��� r����compare_my_objectzJTestCompare.test_extra_comparers_leave_existing.<locals>.compare_my_object���s������!"�������0�0r ���z!testfixtures.comparison._registryrS���r����r|��z~sequence not as expected: same: [1] first: [MyObject instance] second: [MyObject instance] While comparing [1]: foo != barr���)rL���r����replace�listr���rC���)r'���r���r����rs��� r����#test_extra_comparers_leave_existingz/TestCompare.test_extra_comparers_leave_existing���s����� +�� +�� +�� +�� +�v�� +�� +�� +� 1�� 1�� 1� �Z�Z�� �1� �I�I�9��&�<�� �� �� �� ����H�H�U�O�O�$�q�(�(�5�/�/�&:�2��$�%6�7�� �� �� �� � �� �� �� �� �� �� �� �� �� �� �� ����� �� �� �� �� �� s����AB�B � B c������������������������G�d��dt�����������������������}�|dg������������}�|dg������������}|����������������������||d�������������d�S�)Nc�������������������������e�Zd�ZdS�)�.TestCompare.test_list_subclass.<locals>.MyListNr?��r/���r ���r����MyListr������������������������r ���r���rS���rZ���r�����r���rC���)r'���r����a_list�b_lists��� r����test_list_subclasszTestCompare.test_list_subclass���sf������!�!�!�!�!�d�!�!�!�������������������F� � �� �� �� �� r ���c������������������F�����t������������������������}t����������||d��������������d�S��NTr:��rK����r'����ms��� r����test_same_object_strict_okayz(TestCompare.test_same_object_strict_okay���s&�������H�H����1�T�"�"�"�"�"�"r ���c�����������������������t������������������������}d|_��������|����������������������t������������������������t������������������������ddt����������|i��������������d�S�)Nr}��T)rn���r���)r ���r���rC���rL���)r'����compare_objs��� r����test_strict_comparer_suppliedz)TestCompare.test_strict_comparer_supplied���sU�������f�f��#.�� �����H�H�f�h�h����{�+� � �� �� �� �� �� r ���c������������������������G�d��dt�����������������������}|�����������������������|d�������������|d������������dd��������������d�S�)Nc�������������������������e�Zd�ZdS�)�8TestCompare.test_strict_default_comparer.<locals>.MyListNr?��r/���r ���r���r���r������rA��r ���r���r����r����r����Tr:��r���)r'���r���s��� r����test_strict_default_comparerz(TestCompare.test_strict_default_comparer���sx������ �� �� �� �� �T�� �� �� �� ����F�9���v�v�i�0�0� ���� �� �� �� �� �� r ���c�����������������������t������������������������}|������������������������������������|����������������������t����������j����������������������g|j��������dt ������������d�d��������������d�S�)Nz3[call.aCall()] (<class 'list'>) != [call.aCall()] (�)Tr:��)r ����aCallrC���r����method_calls�call_list_reprr���s��� r����test_list_subclass_strictz%TestCompare.test_list_subclass_strict���sh�������F�F�� ��� � � ���� �Z�\�\�N�A�N�#��#��#��#�� � �� �� �� �� �� r ���c�����������������������t������������������������}|���������������������d�������������|����������������������t����������j��������d������������g|j��������dt������������d�d��������������d�S�)N�XXXXXXXXXXXXXXXXXXXX�YYYYYYYYYYYYYYYYYYYYzY[call.call('YYYYYYYYYYYYYYYYYY... (<class 'list'>) != [call.call('XXXXXXXXXXXXXXXXXX... (r���Tr:��)r ���r���rC���r���r���r���s��� r����test_list_subclass_long_strictz*TestCompare.test_list_subclass_long_strict���ss�������F�F�� ���v������� �Y�v� � ����#�� �#��#��#��� � �� �� �� �� �� r ���c������������������8�����|�����������������������dddd��������������d�S�)NrS���rZ���zwrong number of orders: 1 != 2zwrong number of orders��prefixrG���r*���s��� r����test_prefixzTestCompare.test_prefix��s3���������!�Q� @�!9�� �� ;�� ;�� ;�� ;�� ;r ���c������������������8�����|�����������������������dddd��������������d�S�)Nr{���r|���zHfile content: --- first +++ second @@ -1,2 +1,2 @@ xxxxx -yyyyy +zzzzzzfile contentr���rG���r*���s��� r����test_prefix_multilinez!TestCompare.test_prefix_multiline ��s7����������.� 6�!� � �� �� �� �� �� r ���c������������������|�����t����������d������������5��t����������ddd����������������d�d�d��������������d�S�#�1�swxY�w�Y���d�S�)N�foo: 1 != 2rS���rZ���c������������������������dS�)Nr����r/���r/���r ���r����<lambda>z2TestCompare.test_prefix_callable.<locals>.<lambda>��s��������r ���r����r ���r���r*���s��� r����test_prefix_callablez TestCompare.test_prefix_callable��s������� �-� (� (�� 0�� 0��A�q���/�/�/�/� 0�� 0�� 0�� 0�� 0�� 0�� 0�� 0�� 0�� 0�� 0�� 0����� 0�� 0�� 0�� 0�� 0�� 0�����1�5�5c�����������������������t����������d������������5��t����������ddt����������d��������������������������d�d�d��������������d�S�#�1�swxY�w�Y���d�S�)Nr���rS���rZ���r����r����r ���r���r"���r*���s��� r����test_prefix_stringablez"TestCompare.test_prefix_stringable��������� �-� (� (�� .�� .��A�q��e���-�-�-�-� .�� .�� .�� .�� .�� .�� .�� .�� .�� .�� .�� .����� .�� .�� .�� .�� .�� .����� =�A�Ac����������� �������`�����t����������ddt����������t����������d���������������������������������������d�S�)NrZ����boom!��side_effectr����r���r ���r6���r*���s��� r����test_prefix_lazyzTestCompare.test_prefix_lazy���0��������1�T�i��.@�.@�A�A�A�B�B�B�B�B�Br ���c������������������8�����|�����������������������dddd��������������d�S�)NrS���rZ���z1 != 2 additional contextzadditional context��suffixrG���r*���s��� r����test_suffixzTestCompare.test_suffix��s6��������� �q� !�'� � �� �� �� �� �� r ���c������������������|�����t����������d������������5��t����������ddd����������������d�d�d��������������d�S�#�1�swxY�w�Y���d�S�)Nz1 != 2 3rS���rZ���c������������������������dS�r����r/���r/���r ���r���r���z2TestCompare.test_suffix_callable.<locals>.<lambda>'��s��������r ���r���r���r*���s��� r����test_suffix_callablez TestCompare.test_suffix_callable%��s������� �+� &� &�� ,�� ,��A�q���+�+�+�+� ,�� ,�� ,�� ,�� ,�� ,�� ,�� ,�� ,�� ,�� ,�� ,����� ,�� ,�� ,�� ,�� ,�� ,r���c�����������������������t����������d������������5��t����������ddt����������d��������������������������d�d�d��������������d�S�#�1�swxY�w�Y���d�S�)Nz 1 != 2 foorS���rZ���r����r���r���r*���s��� r����test_suffix_stringablez"TestCompare.test_suffix_stringable)��r���r���c����������� �������`�����t����������ddt����������t����������d���������������������������������������d�S�)NrZ���r���r���r���r���r*���s��� r����test_suffix_lazyzTestCompare.test_suffix_lazy-��r���r ���c������������������:�����|�����������������������ddddd��������������d�S�r����rG���r*���s��� r����test_labels_multilinez!TestCompare.test_labels_multiline0��r����r ���c������������������R�����|�����������������������t����������ddd������������d�d�������������d�S�)NrS���rZ���r����z+<generator object generator at ...> != Noner��r*���s��� r����!test_generator_with_non_generatorz-TestCompare.test_generator_with_non_generator9��s8����������a��A����9� �� �� �� �� r ���c������������������������d��}t����������t����������d������������������������5��t����������t����������ddd�������������|���������������������������d�d�d��������������d�S�#�1�swxY�w�Y���d�S�)Nc���������������3����,���K����dV���t����������d�������������)NrS���r����)� TypeErrorr/���r ���r����bad_genz@TestCompare.test_generator_with_buggy_generator.<locals>.bad_gen@��s�����������G�G�G��E�"�"�"r ���r����rS���rZ���r����)r���r���r���r���)r'���r���s��� r����#test_generator_with_buggy_generatorz/TestCompare.test_generator_with_buggy_generator?��s������� #�� #�� #� ���5�)�)� *� *�� 3�� 3��I�a��A�&�&��� � �2�2�2� 3�� 3�� 3�� 3�� 3�� 3�� 3�� 3�� 3�� 3�� 3�� 3����� 3�� 3�� 3�� 3�� 3�� 3s����(A�A�Ac������������������l�����|�����������������������t����������d�������������t����������d�������������d�������������d�S�)Nr����r����r����z�dict not as expected: values differ: 'x': (1, 2, 3) != (1, 2, 4) While comparing ['x']: sequence not as expected: same: (1, 2) first: (3,) second: (4,)r����r*���s��� r����'test_nested_dict_tuple_values_differentz3TestCompare.test_nested_dict_tuple_values_differentH��sD����������9����t�i�0�0�0� � �� �� �� �� r ���c�����������������������|�����������������������t����������t����������d��������������������������t����������t����������d��������������������������d�������������d�S�)NrS����r����r����rZ���z�dict not as expected: values differ: 'x': {'y': 1} != {'y': 2} While comparing ['x']: dict not as expected: values differ: 'y': 1 != 2r����r*���s��� r����test_nested_dict_differentz&TestCompare.test_nested_dict_different\��sT����������4�!�9�9�9����t�d�Q�i�i�i�0�0�0� � �� �� �� �� r ���c�����������������������t����������t����������t�������������������������������������t����������t�������������������������������������d��������������d�S�)Nr����T�� ignore_eqr����r*���s��� r����test_nested_dict_empty_but_samez+TestCompare.test_nested_dict_empty_but_samej��s5��������t�v�v�����t�v�v����$�?�?�?�?�?�?r ���c�����������������������t����������t����������t����������d��������������������������t����������t����������d��������������������������d��������������d�S�)NrS���r����Tr���r����r*���s��� r���� test_nested_dict_empty_with_keysz,TestCompare.test_nested_dict_empty_with_keysm��sC��������t�a�y�y�y�!�!�!�4�$��)�)�)�#4�#4�#4��E�E�E�E�E�Er ���c������������������D�����|�����������������������dg�d�fdg�d�fd�������������d�S�)NrS���)rZ���r����r����)rZ���r����r����z�sequence not as expected: same: (1,) first: ([2, 3, 5],) second: ([2, 4, 5],) While comparing [1]: sequence not as expected: same: [2] first: [3, 5] second: [4, 5]rG���r*���s��� r����test_tuple_list_differentz%TestCompare.test_tuple_list_differentp��s>��������� � � � �N�Q� � � �N� � �� �� �� �� r ���c������������������8�����|�����������������������dddd��������������d�S�)N)rS���rZ���zfoo bar baz r����)rS���rZ���zfoo bob baz r����z�sequence not as expected: same: (1, 2) first: ('foo\nbar\nbaz\n', 4) second: ('foo\nbob\nbaz\n', 4) While comparing [2]: --- first +++ second @@ -1,4 +1,4 @@ 'foo\n' -'bar\n' +'bob\n' 'baz\n' ''Tr^��rG���r*���s��� r����!test_tuple_long_strings_differentz-TestCompare.test_tuple_long_strings_different���s9���������(�(� �*�!�1� �� �� �� �� �� r ���c������������������p�����|�����������������������t����������dd�������������t����������dd�������������d�������������d�S�)Nr����)r����r����r����r����r����)r����r��������a��dict not as expected: values differ: 'x': (1, 2, 3) != (1, 2, 4) 'y': (4, 5, 6) != (4, 5, 7) While comparing ['x']: sequence not as expected: same: (1, 2) first: (3,) second: (4,) While comparing ['y']: sequence not as expected: same: (4, 5) first: (6,) second: (7,)r����r*���s��� r����test_dict_multiple_differencesz*TestCompare.test_dict_multiple_differences���sI����������9��,�,�,��9��,�,�,� � �� �� �� �� r ���c����������������������t����������d������������}t����������d������������}t����������||������������}t����������|������������}|����������������������t����������ddd|fdgddg�������������t����������ddd|fdgddg�������������d ���������������������t����������t ����������|������������������������t����������t ����������|������������������������� �������������������������d�S�)N�obj1�obj2rS���rg���re��r����r����r����a���dict not as expected: same: ['y'] values differ: 'x': [1, ('a', 'b', {gen1}), 3] != [1, ('a', 'b', {gen2}), 3] While comparing ['x']: sequence not as expected: same: [1] first: [('a', 'b', {gen1}), 3] second: [('a', 'b', {gen2}), 3] While comparing ['x'][1]: sequence not as expected: same: ('a', 'b') first: ({gen1},) second: ({gen2},) While comparing ['x'][1][2]: sequence not as expected: same: (<obj1>,) first: (<obj2>,) second: ()��gen1�gen2�r���r���rC���r����r����r����repr�r'���r���r���r���r��s��� r����test_deep_breadcrumbsz!TestCompare.test_deep_breadcrumbs���s��������� � ���� � ����t�$�$���� � ������A��S�$�'��+��1�v�6�6�6��A��S�$�'��+��1�v�6�6�6�'�P��&�f�T�$�Z�Z�0�0�$�T�$�Z�Z�0�0����2��2�W- ��- ��- ��- ��- r ���c����������������������t����������d������������}t����������d������������}t����������||������������}t����������|������������}|����������������������t����������ddd|fdgddg�������������t����������ddd|fdgddg�������������d ���������������������t����������t ����������|������������������������t����������t ����������|������������������������� ������������dd� �������������d�S�)Nr���r���rS���rg���re��r����r����r����a���dict not as expected: same: ['y'] values differ: 'x': [1, ('a', 'b', {gen1}), 3] (expected) != [1, ('a', 'b', {gen2}), 3] (actual) While comparing ['x']: sequence not as expected: same: [1] expected: [('a', 'b', {gen1}), 3] actual: [('a', 'b', {gen2}), 3] While comparing ['x'][1]: sequence not as expected: same: ('a', 'b') expected: ({gen1},) actual: ({gen2},) While comparing ['x'][1][2]: sequence not as expected: same: (<obj1>,) expected: (<obj2>,) actual: ()r���r1���rB���r`���r��r��s��� r����test_nested_labelszTestCompare.test_nested_labels���s��������� � ���� � ����t�$�$���� � ������A��S�$�'��+��1�v�6�6�6��A��S�$�'��+��1�v�6�6�6�(�R��&�f�T�$�Z�Z�0�0�$�T�$�Z�Z�0�0����2��2���_� ��0 ��0 ��0 ��0 ��0 r ���c����������� �������������t����������dd������������}t����������|������������}t����������t����������������������}|�����������������������|ddd������������gdgd|�d|�d �d ��������������d�S�)N�MyTuple�x y zrS���rZ���r����r����z�sequence not as expected: same: [] first: [MyTuple(x=1, y=2, z=3)] second: [(1, 2, 3)] While comparing [0]: MyTuple(x=1, y=2, z=3) (z) != (1, 2, 3) (r���Tr:��)r���r��r���rC���)r'���r ��� type_repr� tuple_reprs��� r����'test_nested_strict_only_type_differencez3TestCompare.test_nested_strict_only_type_difference4��s��������Y��0�0����M�M� ��%�[�[� ���� �W�Q��1� � �� �K�K��"� � �:�:�:� /���%� �� �� �� �� �� r ���c������������������L�����d}|�����������������������ddddgfdd|z���d��������������d�S�)Nz3[1, 2] (<class 'list'>) != (1, 3) (<class 'tuple'>)rS���rZ���)rS���rZ���)rS���r����zcsequence not as expected: same: (1, 2) first: ([1, 2],) second: ((1, 3),) While comparing [2]: Tr:��rG���rk���s��� r����test_strict_nested_differentz(TestCompare.test_strict_nested_differentM��sQ������H����� ��A�q�6�N�N� $��'/� /���� �� �� �� �� �� r ���c������������������j�����t����������dd������������}t�����������|d�������������|d�������������������������d�S�)N�FoorR���rS���)r���r���r���s��� r����test_namedtuple_equalz!TestCompare.test_namedtuple_equala��s7�������E�3�'�'�����q� � �6�6�!�9�9�%�%�%�%�%r ���c������������������|�����t����������dd������������}|�����������������������|dd�������������|dd������������d�������������d�S�)Nr���x yrS���rZ���r����z=Foo not as expected: same: ['x'] values differ: 'y': 2 != 3�r���rC���r���s��� r����test_namedtuple_same_typez%TestCompare.test_namedtuple_same_typee��sQ�������E�5�)�)������F�1�a�L�L�&�&��A�,�,� � �� �� �� �� r ���c�����������������������t����������dd������������}t����������dd������������}|�����������������������|dd�������������|ddd������������d�������������d�S�) Nr��r���Barr ��rS���rZ���r����z�Foo(x=1, y=2) (<class 'testfixtures.tests.test_compare.Foo'>) != Bar(x=1, y=2, z=3) (<class 'testfixtures.tests.test_compare.Bar'>)r��)r'����class_a�class_bs��� r����test_namedtuple_different_typez*TestCompare.test_namedtuple_different_typep��sd�������U�E�*�*���U�G�,�,������G�A�q�M�M�7�7�1�a��+�+� >� �� �� �� �� r ���c������������������>�����|�����������������������ddd�ddgd�������������d�S�)N�one�twor����rS���rZ���z{1: 'one', 2: 'two'} != [1, 2]rG���r*���s��� r����test_dict_with_listzTestCompare.test_dict_with_listz��s8����������%� � �1�a�&�,� �� �� �� �� r ���c������������������6�����|�����������������������ddd��������������d�S�)NrR���r����z'y' (expected) != 'x' (actual))r1���r&���rG���r*���s��� r����test_explicit_expectedz"TestCompare.test_explicit_expected���s5���������#��"B�� �� D�� D�� D�� D�� Dr ���c������������������6�����|�����������������������ddd��������������d�S�)NrR���r�����'x' (expected) != 'y' (actual))rB���r&���rG���r*���s��� r����test_explicit_actualz TestCompare.test_explicit_actual���s5���������#�c�"B�� �� D�� D�� D�� D�� Dr ���c������������������6�����|�����������������������ddd��������������d�S�)NrR���r����r#���r1���rB���r&���rG���r*���s��� r����test_explicit_bothzTestCompare.test_explicit_both���s5���������3�s�"B�� �� D�� D�� D�� D�� Dr ���c������������������:�����|�����������������������ddddd��������������d�S�)NrR���r����ra���rb����'x' (x_label) != 'y' (y_label))ra���rb���r&���rG���r*���s��� r����test_implicit_and_labelsz$TestCompare.test_implicit_and_labels���s:���������#�s�"+�Y�"B�� �� D�� D�� D�� D�� Dr ���c������������������:�����|�����������������������ddddd��������������d�S�)NrR���r����ra���rb���r)��)rR���r����ra���rb���r&���rG���r*���s��� r����test_explicit_and_labelsz$TestCompare.test_explicit_and_labels���s:���������C�3�"+�Y�"B�� �� D�� D�� D�� D�� Dr ���c�����������������������t����������t����������d������������������������5��t����������ddd��������������d�d�d��������������d�S�#�1�swxY�w�Y���d�S�)Nz9Exactly two objects needed, you supplied: ['z', 'x', 'y']rR���r����r����)r1����r���r���r���r*���s��� r����test_invalid_two_args_expectedz*TestCompare.test_invalid_two_args_expected���s������� ��K� �� ������ ,�� ,�� �C��s�+�+�+�+� ,�� ,�� ,�� ,�� ,�� ,�� ,�� ,�� ,�� ,�� ,�� ,����� ,�� ,�� ,�� ,�� ,�� ,�����=�A�Ac�����������������������t����������t����������d������������������������5��t����������ddd��������������d�d�d��������������d�S�#�1�swxY�w�Y���d�S�)N�9Exactly two objects needed, you supplied: ['x', 'y', 'z']rR���r����r����)rB���r.��r*���s��� r����test_invalid_two_args_actualz(TestCompare.test_invalid_two_args_actual���s������� ��K� �� ������ *�� *�� �C��S�)�)�)�)� *�� *�� *�� *�� *�� *�� *�� *�� *�� *�� *�� *����� *�� *�� *�� *�� *�� *r0��c�����������������������t����������t����������d������������������������5��t�������������������������d�d�d��������������d�S�#�1�swxY�w�Y���d�S�)Nz)Exactly two objects needed, you supplied:r.��r*���s��� r����test_invalid_zero_argsz"TestCompare.test_invalid_zero_args���s������� ��;� �� ������ �� �� �I�I�I� �� �� �� �� �� �� �� �� �� �� �� ����� �� �� �� �� �� s ����9�=��=c�����������������������t����������t����������d������������������������5��t����������d�������������d�d�d��������������d�S�#�1�swxY�w�Y���d�S�)Nz/Exactly two objects needed, you supplied: ['x']rR���r.��r*���s��� r����test_invalid_one_argsz!TestCompare.test_invalid_one_args���s������� ��A� �� ������ �� �� �C�L�L�L� �� �� �� �� �� �� �� �� �� �� �� ����� �� �� �� �� �� s ����:�>�>c�����������������������t����������t����������d������������������������5��t����������ddd�������������d�d�d��������������d�S�#�1�swxY�w�Y���d�S�)Nr2��rR���r����r����r.��r*���s��� r����test_invalid_three_argsz#TestCompare.test_invalid_three_args���s������� ��K� �� ������ #�� #�� �C��c�"�"�"� #�� #�� #�� #�� #�� #�� #�� #�� #�� #�� #�� #����� #�� #�� #�� #�� #�� #�����<�A��A�c�����������������������t����������t����������d������������������������5��t����������dd��������������d�d�d��������������d�S�#�1�swxY�w�Y���d�S�)NzAExactly two objects needed, you supplied: ['x'] {'expceted': 'z'}rR���r����)�expcetedr.��r*���s��� r����test_invalid_because_of_typoz(TestCompare.test_invalid_because_of_typo���s������� ��S� �� ������ '�� '�� �C�#�&�&�&�&� '�� '�� '�� '�� '�� '�� '�� '�� '�� '�� '�� '����� '�� '�� '�� '�� '�� 'r:��c������������������R�����|�����������������������t����������ddd�������������d�������������d�S�)NrR���r����F)�raisesz 'x' != 'y')r~��r���r*���s��� r����test_dont_raisezTestCompare.test_dont_raise���s-�����������c�%�8�8�8�,�G�G�G�G�Gr ���c�������������������� �����e�Zd�Zd��Zd��Zd��ZdS�)�TestCompare.OrmObjc�����������������������||�_���������d�S�r$����rg����r'���rg���s��� r���r(���zTestCompare.OrmObj.__init__���s �������D�F�F�Fr ���c�����������������������dS�)NTr/����r'����others��� r����__eq__zTestCompare.OrmObj.__eq__���s�������4r ���c������������������0�����dt����������|�j��������������������z���S�)NzOrmObj: )�strrg���r*���s��� r���r���zTestCompare.OrmObj.__repr__���s�������c�$�&�k�k�)�)r ���N)r,���r-���r.���r(���rI��r���r/���r ���r����OrmObjrB�����sA�������������� �� �� � �� �� � *�� *�� *�� *�� *r ���rL��c������������������"�����������������������������������������������������d�����������������������������������d������������k�������������������fd�}�����������������������d�����������������������d�����������������������������������d������������g�|��������������d��������������d�S�)NrS���rZ���c���������������3����h����K����������������������������d������������V���������������������������d������������V���d�S��NrS���rZ���)rL��r*���s����r���� query_setz:TestCompare.test_django_orm_is_horrible.<locals>.query_set���s9������������+�+�a�.�.� � � ��+�+�a�.�.� � � � � r ���z�sequence not as expected: same: (OrmObj: 1,) expected: (OrmObj: 3,) actual: (OrmObj: 2,) While comparing [1]: OrmObj not as expected: attributes differ: 'a': 3 (expected) != 2 (actual)r����T�r&���r1���rB���r���)� assertTruerL��rC���)r'���rP��s���` r����test_django_orm_is_horriblez'TestCompare.test_django_orm_is_horrible���s��������������A���$�+�+�a�.�.�8�9�9�9� !�� !�� !�� !�� !�� ���2� ��k�k�!�n�n�d�k�k�!�n�n�5��9�;�;��)� �� �� �� �� �� r ���c����������� �����������t����������t����������d�������������}�||����������������������d������������|����������������������d��������������������������||����������������������d������������|����������������������d��������������������������||����������������������t����������ddd������������������������|����������������������t����������ddd�������������������������������������d�S�)NTr���rS���zsome longish stringi���)r���r���rL��r���)r'���� t_compares��� r����"test_django_orm_is_horrible_part_2z.TestCompare.test_django_orm_is_horrible_part_2���s��������G�t�4�4�4� �� �$�+�+�a�.�.�$�+�+�a�.�.�1�1�1�� �$�+�+�3�4�4��+�+�3�4�4� 6�� 6�� 6�� �$�+�+�d�4��A�.�.�/�/��+�+�d�4��A�.�.�/�/� 1�� 1�� 1�� 1�� 1r ���c������������������v�����t����������|����������������������d������������|����������������������d������������d��������������d�S�)NrS���T�r1���rB���r���)r���rL��r*���s��� r����"test_django_orm_is_horrible_part_3z.TestCompare.test_django_orm_is_horrible_part_3���s@��������[�[��^�^��;�;�q�>�>�� �� �� �� �� �� r ���c������������������:�����|�����������������������ddgdd��������������d�S�)Nz[1] (expected) != 2 (actual)rS���rZ���TrQ��rG���r*���s��� r����"test_django_orm_is_horrible_part_4z.TestCompare.test_django_orm_is_horrible_part_4���s7���������2��S��� � �� �� �� �� �� r ���c����������� ��������������G�d��dt�����������������������}|����������������������d�||����������������������d�������������������������||����������������������d������������������������d��������������d�S�)Nc�������������������������e�Zd�Zd��ZdS�)�>TestCompare.test_nested_django_orm_in_object.<locals>.MyObjectc�����������������������||�_���������d�S�r$���)�orm)r'���r`��s��� r���r(���zGTestCompare.test_nested_django_orm_in_object.<locals>.MyObject.__init__���� ����������r ���N�r,���r-���r.���r(���r/���r ���r���r���r^�����s#�������������� �� �� �� �� r ���r���z�MyObject not as expected: attributes differ: 'orm': OrmObj: 1 (expected) != OrmObj: 2 (actual) While comparing .orm: OrmObj not as expected: attributes differ: 'a': 1 (expected) != 2 (actual)rS���rZ���TrQ��)rL���rC���rL��)r'���r���s��� r���� test_nested_django_orm_in_objectz,TestCompare.test_nested_django_orm_in_object���s������� �� �� �� �� �v�� �� �� �� ���6���X�d�k�k�!�n�n�-�-��8�D�K�K��N�N�+�+��� �� �� �� �� �� r ���c�����������������������t������������������������}|���������������������ddd��������������t����������|j��������|j���������������������d�S��NrS���rZ���r����r�����r ���r����r���� mock_callsr���s��� r����test_mock_call_samezTestCompare.test_mock_call_same��s=�������F�F�� ���a��a��������a�l�+�+�+�+�+r ���c�����������������������t������������������������}|���������������������ddd��������������t����������|j��������|j��������d��������������d�S��NrS���rZ���r����r����Tr:��rf��r���s��� r����test_mock_call_same_strictz&TestCompare.test_mock_call_same_strict��sB�������F�F�� ���a��a��������a�l�4�8�8�8�8�8�8r ���c������������������������t������������������������}|���������������������ddd��������������t������������������������}|���������������������ddd��������������t����������|j��������|j���������������������d�S�re��rf���r'����m1�m2s��� r����test_mock_call_equalz TestCompare.test_mock_call_equal��s^������ �V�V�� ���q�!�q����� �V�V�� ���q�!�q������� �r�}�-�-�-�-�-r ���c������������������������t������������������������}|���������������������ddd��������������t������������������������}|���������������������ddd��������������t����������|j��������|j��������d��������������d�S�rj��rf��rm��s��� r����test_mock_call_equal_strictz'TestCompare.test_mock_call_equal_strict!��sc������ �V�V�� ���q�!�q����� �V�V�� ���q�!�q������� �r�}�T�:�:�:�:�:�:r ���c������������������������t������������������������}t������������������������}|���������������������dddd��������������|���������������������dddd��������������|����������������������|j��������|j��������d�������������d�S�)NrS���rZ���r����r����r����r���z�sequence not as expected: same: [] first: [call.foo(1, 2, x=3, y=4)] second: [call.bar(1, 3, x=7, y=4)] While comparing [0]: 'call.foo(1, 2, x=3, y=4)' != 'call.bar(1, 3, x=7, y=4)')r ���r����r|��rC���rg��rm��s��� r����test_calls_differentz TestCompare.test_calls_different(��sy������ �V�V�� �V�V�� ���q�!�q�A����� ���q�!�q�A���������M��M� )� �� �� �� �� r ���c�����������������������t������������������������}|���������������������d�������������|����������������������|j��������j��������t ����������d������������d�������������d�S�)NrS���rZ���z'call(1)' != 'call(2)')r ���r����rC���� call_argsr���r���s��� r����test_call_args_differentz$TestCompare.test_call_args_differentB��sO�������F�F�� ���a������� �E�O���G�G�$� �� �� �� �� r ���c�����������������������G�d��dt�����������������������}t������������������������}t������������������������}|����������������������|d�������������������������|����������������������|d�������������������������|����������������������|j��������|j��������d�������������d�S�)Nc�������������������������e�Zd�Zd��Zd��ZdS�)�ETestCompare.test_calls_args_different_but_same_repr.<locals>.Annoyingc�����������������������||�_���������d�S�r$���r�����r'���rR���s��� r���r(���zNTestCompare.test_calls_args_different_but_same_repr.<locals>.Annoying.__init__N��� ����������r ���c�����������������������dS��Nz <annoying>r/���r*���s��� r���r���zNTestCompare.test_calls_args_different_but_same_repr.<locals>.Annoying.__repr__P���������#�|r ���Nr���r/���r ���r����Annoyingrz��M���2�������������� �� �� � $�� $�� $�� $�� $r ���r���rS���r����aW��sequence not as expected: same: [] first: [call.foo(<annoying>)] second: [call.foo(<annoying>)] While comparing [0]: mock.call not as expected: While comparing [0] args: sequence not as expected: same: () first: (<annoying>,) second: (<annoying>,) While comparing [0] args[0]: Annoying not as expected: attributes differ: 'x': 1 != 3)rL���r ���r����rC���rg���r'���r���rn��ro��s��� r����'test_calls_args_different_but_same_reprz3TestCompare.test_calls_args_different_but_same_reprL��s������� $�� $�� $�� $�� $�v�� $�� $�� $� ��V�V�� �V�V�� ���x�x��{�{���� ���x�x��{�{��������M��M� � �� �� �� �� r ���c�����������������������G�d��dt�����������������������}t������������������������}t������������������������}|����������������������|d������������g��������������|����������������������|d������������g��������������t����������|j��������|j���������������������d�S�)Nc�������������������������e�Zd�Zd��Zd��ZdS�)�DTestCompare.test_calls_nested_equal_sub_attributes.<locals>.Annoyingc�����������������������||�_���������d�S�r$���r����r|��s��� r���r(���zMTestCompare.test_calls_nested_equal_sub_attributes.<locals>.Annoying.__init__z��r}��r ���c�����������������������dS�r��r/���r*���s��� r���r���zMTestCompare.test_calls_nested_equal_sub_attributes.<locals>.Annoying.__repr__|��r���r ���Nr���r/���r ���r���r���r���y��r���r ���r���rS���r����)rL���r ���r����r���rg��r���s��� r����&test_calls_nested_equal_sub_attributesz2TestCompare.test_calls_nested_equal_sub_attributesx��s������� $�� $�� $�� $�� $�v�� $�� $�� $� ��V�V�� �V�V�� ���(�(�1�+�+������ ���(�(�1�+�+�������� �r�}�-�-�-�-�-r ���c������������������������G�d��d������������}|������������������������|�|d�������������������������|�|d������������������������d�������������d�S�)Nc�������������������������e�Zd�Zd��Zd��ZdS�)�@TestCompare.test_compare_arbitrary_nested_diff.<locals>.OurClassc�����������������������||�_���������d�S�r$���)r8���)r'���r8���s��� r���r(���zITestCompare.test_compare_arbitrary_nested_diff.<locals>.OurClass.__init__���r���r ���c�����������������������dS�)Nz<OurClass obj>r/���r*���s��� r���r���zITestCompare.test_compare_arbitrary_nested_diff.<locals>.OurClass.__repr__���s������'�'r ���Nr���r/���r ���r����OurClassr������s2�������������� !�� !�� !� (�� (�� (�� (�� (r ���r���rS���rZ���a���OurClass not as expected: attributes differ: 'args': (<OurClass obj>,) != (<OurClass obj>,) While comparing .args: sequence not as expected: same: () first: (<OurClass obj>,) second: (<OurClass obj>,) While comparing .args[0]: OurClass not as expected: attributes differ: 'args': (1,) != (2,) While comparing .args[0].args: sequence not as expected: same: () first: (1,) second: (2,)rG���)r'���r���s��� r����"test_compare_arbitrary_nested_diffz.TestCompare.test_compare_arbitrary_nested_diff���s}������ (�� (�� (�� (�� (�� (�� (�� (� � ����H�X�X�a�[�[�!�!��H�X�X�a�[�[�!�!� �" ��" ��" ��" ��" r ���c������������������^�����t����������t����������dd������������t����������dd�������������������������d�S�rO��)r���r���r*���s��� r����test_compare_slotted_samez%TestCompare.test_compare_slotted_same���s(���������1� � �w�q�!�}�}�-�-�-�-�-r ���c������������������l�����|�����������������������t����������dd������������t����������dd������������d�������������d�S�)NrS���rZ���r����zPSlotted not as expected: attributes same: ['x'] attributes differ: 'y': 2 != 3)rC���r���r*���s��� r����test_compare_slotted_diffz%TestCompare.test_compare_slotted_diff���s?����������A�q�M�M��A�q�M�M� � �� �� �� �� r ���c������������������V�����t����������t������������������������t�������������������������������������d�S�r$���r����r*���s��� r����test_empty_setszTestCompare.test_empty_sets���s ����������s�u�u�����r ���c������������������Z�����t����������t������������������������t������������������������d��������������d�S�r���r����r*���s��� r����test_empty_sets_strictz"TestCompare.test_empty_sets_strict���s%����������s�u�u�T�*�*�*�*�*�*r ���c������������������p�����|�����������������������t����������ddd������������t����������ddd������������d�������������d�S�)Ni���rS���rZ���zJdatetime.datetime(2001, 1, 1, 0, 0) != datetime.datetime(2001, 1, 2, 0, 0))rC���r���r*���s��� r����test_datetime_not_equalz#TestCompare.test_datetime_not_equal���sG����������T�1�a� � ��T�1�a� � � 2� �� �� �� �� r ���c������������������������G�d��dt�����������������������}�G�d��d|������������}|�����������������������|dd�������������|dd������������d�������������d�S�) Nc�������������������������e�Zd�ZdZdS�)�0TestCompare.test_inherited_slots.<locals>.ParentrD��N�r,���r-���r.���� __slots__r/���r ���r����Parentr����������������������I�I�Ir ���r���c�������������������������e�Zd�ZdZd��ZdS�)�/TestCompare.test_inherited_slots.<locals>.Child)re��c������������������$�����||c|�_���������|�_��������d�S�r$����rg���re���r'���rg���re��s��� r���r(���z8TestCompare.test_inherited_slots.<locals>.Child.__init__���s������!"�A�������r ���N�r,���r-���r.���r���r(���r/���r ���r����Childr������s(���������������I� &�� &�� &�� &�� &r ���r���rS���rR���rZ���zNChild not as expected: attributes same: ['b'] attributes differ: 'a': 1 != 2r[���r'���r���r���s��� r����test_inherited_slotsz TestCompare.test_inherited_slots���s������� �� �� �� �� �V�� �� �� � &�� &�� &�� &�� &�F�� &�� &�� &�� ����E�!�S�M�M��E�!�S�M�M� � �� �� �� �� r ���c������������������������G�d��dt�����������������������}�G�d��d|������������}t�����������|d�������������|d�������������������������d�S�)Nc�������������������������e�Zd�ZdZd��ZdS�)�2TestCompare.test_empty_child_slots.<locals>.ParentrD��c�����������������������||�_���������d�S�r$���rD��rE��s��� r���r(���z;TestCompare.test_empty_child_slots.<locals>.Parent.__init__���r}��r ���Nr���r/���r ���r���r���r������s(���������������I� �� �� �� �� r ���r���c�������������������������e�Zd�ZdZdS�)�1TestCompare.test_empty_child_slots.<locals>.Childr/���Nr���r/���r ���r���r���r������s���������������I�I�Ir ���r���rS���rK���r���s��� r����test_empty_child_slotsz"TestCompare.test_empty_child_slots���s~������ �� �� �� �� �V�� �� �� � �� �� �� �� �F�� �� �� �� ���a���%�%��(�(�#�#�#�#�#r ���c������������������������G�d��dt�����������������������}�G�d��d|������������}|�����������������������|dd�������������|dd������������d� �������������d�S�) Nc�������������������������e�Zd�ZdZdS�)�0TestCompare.test_slots_and_attrs.<locals>.ParentrD��Nr���r/���r ���r���r���r������r���r ���r���c�������������������������e�Zd�Zd��ZdS�)�/TestCompare.test_slots_and_attrs.<locals>.Childc������������������"�����||�_���������||�_��������d�S�r$���r���r���s��� r���r(���z8TestCompare.test_slots_and_attrs.<locals>.Child.__init__���s�������������r ���Nrb��r/���r ���r���r���r������s#�������������� �� �� �� �� r ���r���rS���rZ���r����zNChild not as expected: attributes same: ['a'] attributes differ: 'b': 2 != 3r%���r[��r���s��� r����test_slots_and_attrsz TestCompare.test_slots_and_attrs���s������� �� �� �� �� �V�� �� �� � �� �� �� �� �F�� �� �� � � ���%�%��1�+�+�u�u�Q��{�{� �� �� �� �� �� �� r ���c����������������������d��}d��}|�����������������������t����������|������������t����������|������������d���������������������t����������t ����������|������������������������t����������t ����������|��������������������������������������������������d�S�)Nc�����������������������d�S�r$���r/���r����s��� r���r����z8TestCompare.test_partial_callable_different.<locals>.foo������������r ���c�����������������������d�S�r$���r/���r���s��� r���r|��z8TestCompare.test_partial_callable_different.<locals>.bar��r���r ���z�partial not as expected: attributes same: ['args', 'keywords'] attributes differ: 'func': {foo} != {bar} While comparing .func: {foo} != {bar})r����r|��)rC���r���r����r���r��)r'���r����r|��s��� r����test_partial_callable_differentz+TestCompare.test_partial_callable_different��s�����������������C�L�L��C�L�L�8���f���S� � �*�*��t�C�y�y�0A�0A�f�B�B� D�� D�� D�� D�� Dr ���c������������������r�����d��}|�����������������������t����������|d������������t����������|d������������d�������������d�S�)Nc�����������������������d�S�r$���r/���r����s��� r���r����z4TestCompare.test_partial_args_different.<locals>.foo��r���r ���rS���rZ���z�partial not as expected: attributes same: ['func', 'keywords'] attributes differ: 'args': (1,) != (2,) While comparing .args: sequence not as expected: same: () first: (1,) second: (2,)�rC���r����r'���r����s��� r����test_partial_args_differentz'TestCompare.test_partial_args_different��sH�������������C��O�O��C��O�O� � �� �� �� �� r ���c������������������z�����d��}|�����������������������t����������|dd�������������t����������|dd�������������d�������������d�S�) Nc�����������������������d�S�r$���r/���r����s��� r���r����z2TestCompare.test_partial_kw_different.<locals>.foo6��r���r ���rS���r����r����rZ���r����r����a��partial not as expected: attributes same: ['args', 'func'] attributes differ: 'keywords': {'x': 1, 'y': 3} != {'x': 2, 'z': 4} While comparing .keywords: dict not as expected: in first but not second: 'y': 3 in second but not first: 'z': 4 values differ: 'x': 1 != 2r���r���s��� r����test_partial_kw_differentz%TestCompare.test_partial_kw_different4��sV�������������C�1��"�"�"��C�1��"�"�"� � �� �� �� �� r ���c������������������l�����d��}t����������t����������|dd�������������t����������|dd��������������������������d�S�)Nc�����������������������d�S�r$���r/���r����s��� r���r����z+TestCompare.test_partial_equal.<locals>.fooQ��r���r ���rS���rZ���r����)r���r���r���s��� r����test_partial_equalzTestCompare.test_partial_equalO��s?������������Q�!�$�$�$�g�c�1��&:�&:�&:�;�;�;�;�;r ���c�������������������������G�d��dt�����������������������}|�����������������������|���������������|��������������d�������������|�����������������������|���������������|��������������d��������������d�S�)Nc�������������������������e�Zd�Zd��Zd��ZdS�)�7TestCompare.test_repr_and_attributes_equal.<locals>.Wutc�����������������������dS�)N�Wutr/���r*���s��� r���r���z@TestCompare.test_repr_and_attributes_equal.<locals>.Wut.__repr__X����������ur ���c�����������������������dS�)NFr/���rG��s��� r���rI��z>TestCompare.test_repr_and_attributes_equal.<locals>.Wut.__eq__Z��r���r ���N)r,���r-���r.���r���rI��r/���r ���r���r���r���W��s2�������������� �� �� � �� �� �� �� r ���r���z0Both x and y appear as 'Wut', but are not equal!z<Both expected and actual appear as 'Wut', but are not equal!r&��r[��)r'���r���s��� r����test_repr_and_attributes_equalz*TestCompare.test_repr_and_attributes_equalU��s������� �� �� �� �� �&�� �� �� �� ����C�E�E��C�E�E�>� �� �� �� ����S�U�U��3�5�5�R�� �� �� �� �� �� r ���c����������� �������������G�d��dt�����������������������}|����������������������d�|d������������dt����������t�����������������������dt����������|�������������d��������������d�S�)Nc�������������������� �����e�Zd�ZdgZd��Zd��ZdS�)�5TestCompare.test_string_with_slotted.<locals>.Slottedr����c�����������������������||�_���������d�S�r$���)r����r���s��� r���r(���z>TestCompare.test_string_with_slotted.<locals>.Slotted.__init__m��ra��r ���c������������������*�����t����������|�j��������������������S�r$���)r��r����r*���s��� r���r���z>TestCompare.test_string_with_slotted.<locals>.Slotted.__repr__o��s�������D�H�~�~�%r ���N)r,���r-���r.���r���r(���r���r/���r ���r���r���r���k��s9����������������I� �� �� � &�� &�� &�� &�� &r ���r���r����z'foo' (z) != 'foo' (r���)rL���rC���r��rK��)r'���r���s��� r����test_string_with_slottedz$TestCompare.test_string_with_slottedi��s|������ &�� &�� &�� &�� &�f�� &�� &�� &�� �����G�E�N�N�N�*.�s�)�)�)�)�T�'�]�]�]�]�C� �� �� �� �� r ���c������������������@�����|�����������������������ddd�ddd�d�������������d�S�)Nr����r����r|��z�dict not as expected: values differ: 1: 'foo' != 'bar' 2: 'foo' != 'bar' While comparing [1]: 'foo' != 'bar' While comparing [2]: 'foo' != 'bar'rG���r*���s��� r����test_not_recursivezTestCompare.test_not_recursivex��s?����������%� � ��%� � � 2� �� �� �� �� r ���c�����������������������d}|�����������������������t����������j��������|dz���������������t����������j��������|dz���������������d�������������d�S�)N��aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaarR���r����a��Both x and y appear as "re.compile('aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa)", but are not equal!)rC����rer���)r'���� shared_prefixs��� r���� test_regexzTestCompare.test_regex���sP������!� �����J�}�s�*�+�+��J�}�s�*�+�+�T� �� �� �� �� r ���c������������������J�����ddi}||d<���ddi}||d<���t����������||�������������d�S�)NrS���r����rZ���rW����r'���r1���rB���s��� r����test_self_referential_samez&TestCompare.test_self_referential_same���s<�������u�:�������U�����q� ���&�!�!�!�!�!r ���c������������������X�����ddi}||d<���ddi}||d<���|�����������������������||d�������������d�S�)NrS���r����rZ���r|��zgdict not as expected: same: [2] values differ: 1: 'foo' != 'bar' While comparing [1]: 'foo' != 'bar'rG���r���s��� r����test_self_referential_differentz+TestCompare.test_self_referential_different���sS�������u�:�������U�����q� ������ 2� �� �� �� �� r ���c�����������������������i�}||d<���i�}||d<���t����������t����������|������������������������}|����������������������|dd�||d�d|z���dz���|z���dz����������������d�S�)N� ouroborosr����r����zfdict not as expected: same: [1] values differ: 2: 'foo' != {'ouroboros': <Recursion on dict with id=zW>} While comparing [2]: 'foo' != <AlreadySeen for {'ouroboros': {...}} at [1] with id �>)rK���idrC���)r'���� ouroboros1� ouroboros2�id2s��� r����6test_self_referential_different_but_shows_already_seenzBTestCompare.test_self_referential_different_but_shows_already_seen���s�������� �",� �;��� �",� �;���"�Z�.�.�!�!������u�%�%��z�*�*� D��EH� H�ID� D��EH� H��IL� L� �� �� �� �� r ���c������������������$�����G�d��d������������}�|��������������}|�����������������������|���������������������������|�����������������������|����������������������������|��������������}|�����������������������|���������������������������|����������������������||d�������������d�S�)Nc��������������������"�����e�Zd�Zd��Zdd�Zd��ZdS�)�;TestCompare.test_self_referential_object_tree.<locals>.Nodec������������������"�����d�|�_���������g�|�_��������d�S�r$���)�parent�childrenr*���s��� r���r(���zDTestCompare.test_self_referential_object_tree.<locals>.Node.__init__���s������"��� "�� � � r ����child�Nodec������������������H�����|�j������������������������������|�������������|�|_��������d�S�r$���)r���r4���r���)r'���r���s��� r����addz?TestCompare.test_self_referential_object_tree.<locals>.Node.add���s#������� �$�$�U�+�+�+�#����r ���c�����������������������d|�j�����������d�S�)Nz<Node: r���)r���r*���s��� r���r���zDTestCompare.test_self_referential_object_tree.<locals>.Node.__repr__���s������1���1�1�1�1r ���N)r���r���)r,���r-���r.���r(���r���r���r/���r ���r���r���r������sF�������������� #�� #�� #� $�� $�� $�� $� 2�� 2�� 2�� 2�� 2r ���r���z�Node not as expected: attributes same: ['parent'] attributes differ: 'children': [<Node: []>, <Node: []>] != [<Node: []>] While comparing .children: sequence not as expected: same: [<Node: []>] first: [<Node: []>] second: [])r���rC���)r'���r���r1���rB���s��� r����!test_self_referential_object_treez-TestCompare.test_self_referential_object_tree���s������� 2�� 2�� 2�� 2�� 2�� 2�� 2�� 2���4�6�6�����T�T�V�V�������T�T�V�V���������� � �4�4�6�6��������� � �� �� �� �� r ���c������������������B�����g�d�}t����������||gg�d�g�d�gd��������������d�S��Nr����TrX��rW����r'����items��� r����/test_repeated_object_on_the_left_side_ignore_eqz;TestCompare.test_repeated_object_on_the_left_side_ignore_eq���s8�������y�y���$���y�y�y�)�)�)�.D�PT�U�U�U�U�U�Ur ���c������������������>�����g�d�}t����������||g|g�d�gd��������������d�S�r���rW���r���s��� r����,test_repeated_object_on_both_sides_ignore_eqz8TestCompare.test_repeated_object_on_both_sides_ignore_eq���s3�������y�y���$���t�Y�Y�Y�.?�4�P�P�P�P�P�Pr ���c������������������>�����g�d�}t����������||g|g�d�gd��������������d�S��Nr����T)r1���rB���rn���rW���r���s��� r����Ctest_repeated_object_on_both_sides_left_at_compare_strict_type_samezOTestCompare.test_repeated_object_on_both_sides_left_at_compare_strict_type_same���s3�������y�y���$���t�Y�Y�Y�.?��M�M�M�M�M�Mr ���c������������������>�����g�d�}t����������|g�d�g||gd��������������d�S�r���rW���r���s��� r����Dtest_repeated_object_on_both_sides_right_at_compare_strict_type_samezPTestCompare.test_repeated_object_on_both_sides_right_at_compare_strict_type_same���s3�������y�y���$� � � �*�D�$�<��M�M�M�M�M�Mr ���c�����������������������g�d�}�G�d��dt�����������������������}t����������|������������}|����������������������||g|�|d������������gdd|��d���������������d�S�)Nr����c���������������������������e�Zd�Z��fd�Z��xZS�)�TTestCompare.test_repeated_object_on_both_sides_strict_type_different.<locals>.MyListc������������������v������dt����������|�������������j����������dt�������������������������������������������������������������d�S�)N�<�:r���)�typer,����superr���)r'���� __class__s��� �r���r���z]TestCompare.test_repeated_object_on_both_sides_strict_type_different.<locals>.MyList.__repr__���s5�������F�4��:�:�.�F�F����1A�1A�1C�1C�F�F�F�Fr ���)r,���r-���r.���r���� __classcell__)r��s���@r���r���r�����sA��������������� G�� G�� G�� G�� G�� G�� G�� G�� Gr ���r���Tz�sequence not as expected: same: [[1, 2, 3]] first: [[1, 2, 3]] second: [<MyList:[1, 2, 3]>] While comparing [1]: <AlreadySeen for [1, 2, 3] at ... (<class 'testfixtures.comparison.AlreadySeen'>) != <MyList:[1, 2, 3]> (r���)rn���r&���)r���r��rC���)r'���r���r���r��s��� r����8test_repeated_object_on_both_sides_strict_type_differentzDTestCompare.test_repeated_object_on_both_sides_strict_type_different���s��������y�y�� G�� G�� G�� G�� G�T�� G�� G�� G� ���L�L� ���� �4�L� �6�6�)�$�$�%�� 4��(1� 4�� 4�� 4�� �� �� �� �� �� r ���N)�r,���r-���r.���rN���rP���rT���rX���r[���r^���rc���re���ri���rl���ro���rq���ru���ry���r}���r���r����r����r����r����r����r����r����r����r����r����r����r����r����r����r����r����r����r����r����r����r����r����r����r����r����r����r����r����r����r����r����r����r����r����r����r����r���r��r��r��r ��r��r��r��r��r��r��r��r��r ��r#��r%��r'��r)��r+��r.��r0��r2��r4��r6��r8��r;��rC��rI��rQ��rU��r\��r_��ra��rc��rf��rh��rl��ro��rq��rs��rw��ry��r���r���r���r���r���r���r���r���r���r���r���r���r���r���r���r���r���r���r���r���r���r���r���r���r���r���r���r���r��r��r ��r��r��r��r��r��r!��r$��r'��r*��r,��r/��r3��r5��r7��r9��r=��r@��rL���rL��rS��rV��rY��r[��rc��rh��rk��rp��rr��rt��rw��r���r���r���r���r���r���r���r���r���r���r���r���r���r���r���r���r���r���r���r���r���r���r���r���r���r��r��r��r/���r ���r���rI���rI���O���s������������������ �� �� �.��.��.������*��*��*�:��:��:�@��@��@������4��4��4������7��7��7� �� �� ����������������������������������������� ����� ����� �����:��:��:������B�����&��&��&� �� �� � �� �� � �� �� � �� �� �����������&��&��&�������������������������������*�����"0��0��0�����������$�����,����� �� �� � �� �� � �� �� �$��$��$��������������������� �� �� �&��&��&���������������������8��8��8�������������������������� ����������/��/��/������/��/��/�*��*��*� �� �� �1��1��1� �� �� �1��1��1�&��&��&������?��?��?� ����� *��*��*� ����� *��*��*� ����������0��0��0������"�����B��B��B����������������.��.��.������ 4�� 4�� 4�����������> �� �� �#��#��#� �� �� ������&����� �� �� �;��;��;������0��0��0�.��.��.�C��C��C������,��,��,�.��.��.�C��C��C�����������3��3��3������(�����@��@��@�F��F��F������4�����8�����B3��3��3�j6��6��6�p�����2�����(&��&��&� �� �� ������ �� �� �D��D��D�D��D��D�D��D��D�D��D��D� D��D��D� ,��,��,�*��*��*�����������#��#��#�'��'��'�H��H��H�*��*��*��*��*���*��*��*� �� �� �>1��1��1� �� �� � �� �� ������&,��,��,� 9��9��9� .��.��.�;��;��;� �� �� �4 �� �� �* ��* ��* �X.��.��.�( ��( ��( �T.��.��.� �� �� ������+��+��+� �� �� � �� �� �.$��$��$������(D��D��D�( �� �� �6 �� �� �6<��<��<� �� �� �( �� �� � �� �� ������"��"��"� �� �� �& �� �� �*+ ��+ ��+ �ZV��V��V�Q��Q��Q�N��N��N�N��N��N� �� �� �� �� r ���rI���c��������������������X�����e�Zd�Z�G�d��de������������Z�G�d��de������������Zd��Zd��Zd��ZdS�) � TestIgnorec�������������������������e�Zd�Zd��Zd��ZdS�)�TestIgnore.Parentc������������������"�����||�_���������||�_��������d�S�r$���)r���rH��)r'���r���rH��s��� r���r(���zTestIgnore.Parent.__init__��s�������D�G��D�J�J�Jr ���c������������������\�����d����������������������t����������|�������������j��������|�j��������������������S�)Nz<{}:{}>)r����r ��r,���r���r*���s��� r���r���zTestIgnore.Parent.__repr__"��s#�������#�#�D��J�J�$7���A�A�Ar ���Nr���r/���r ���r���r���r����s7�������������� �� �� � B�� B�� B�� B�� Br ���r���c�������������������������e�Zd�ZdS�)�TestIgnore.ChildNr?��r/���r ���r���r���r��%��r���r ���r���c������������������|�����t����������|����������������������dd������������|����������������������dd������������dh��������������d�S�)NrS���r����rZ���r�����ignore_attributes)r���r���r*���s��� r����test_ignore_attributesz!TestIgnore.test_ignore_attributes'��s;����������A�q�!�!�4�;�;�q�!�#4�#4���O�O�O�O�O�Or ���c�����������������������|�����������������������|����������������������dd������������|����������������������dd������������ddh��������������d�S�)NrS���r����rZ���z<Parent:1> != <Child:2>r���r��)rC���r���r���r*���s��� r����&test_ignore_attributes_different_typesz1TestIgnore.test_ignore_attributes_different_types*��sS����������K�K��1����J�J�q�!���%�#�f� � �� �� �� �� �� r ���c����������������������|�j���������dhi}t����������|�����������������������dd������������|�����������������������dd������������|��������������|����������������������|����������������������dd������������|����������������������dd������������d|��������������d�S�)Nr���rS���r����rZ���r��zSChild not as expected: attributes same: ['other'] attributes differ: 'id': 1 != 2)r���r���rC���r���)r'����ignores��� r����test_ignore_attributes_per_typez*TestIgnore.test_ignore_attributes_per_type2��s��������+��v�&������A�q�!�!�4�;�;�q�!�#4�#4��O�O�O�O�����J�J�q�!����J�J�q�!��� ��%�� �� �� �� �� �� r ���N) r,���r-���r.���rL���r���r���r��r��r��r/���r ���r���r��r����s���������������B��B��B��B��B���B��B��B�����������P��P��P� �� �� � �� �� �� �� r ���r��c��������������������<�����e�Zd�Z�G�d��de������������Zd��Zd��Zd��ZdS�)�TestCompareObjectc�������������������������e�Zd�Zd��ZdS�)�TestCompareObject.Thingc������������������\�����|������������������������������������D�]\��}}t����������|�||��������������d�S�r$���)�items�setattr)r'���r?����k�vs��� r���r(���z TestCompareObject.Thing.__init__F��s<��������� � �� $�� $���1���a��#�#�#�#� $�� $r ���Nrb��r/���r ���r����Thingr#��E��s#�������������� $�� $�� $�� $�� $r ���r)��c�����������������������d��}t����������|����������������������dd�������������|����������������������dd�������������|�j��������|i��������������d�S�)Nc������������������*�����t����������|�||dg�������������S��Nr����r���r���r���s��� r���� compare_thingz4TestCompareObject.test_ignore.<locals>.compare_thingK���������!�!�Q��C�5�I�I�I�Ir ���rS���rZ���r����r����r����r���r)���r'���r.��s��� r����test_ignorezTestCompareObject.test_ignoreJ��sc������ J�� J�� J��� � �Q�!� �$�$�d�j�j�1��j�&:�&:��:�}�5� 7�� 7�� 7�� 7�� 7�� 7r ���c�����������������������d��}t����������|����������������������ddd�������������|����������������������ddd�������������|�j��������|i|�j��������dgi� �������������d�S�) Nc������������������*�����t����������|�||dg�������������S�r,��r-��r���s��� r���r.��zLTestCompareObject.test_ignore_dict_context_list_param.<locals>.compare_thingQ��r/��r ���rS���rZ���r�����rR���r����r����r����r����r�����r���r��r0��r1��s��� r����#test_ignore_dict_context_list_paramz5TestCompareObject.test_ignore_dict_context_list_paramP��ss������ J�� J�� J��� � �Q�!�q� �)�)�4�:�:��Q�!�:�+D�+D��:�}�5�#'�:��u�"5� 7�� 7�� 7�� 7�� 7�� 7r ���c�����������������������d��}t����������|����������������������ddd�������������|����������������������ddd�������������|�j��������|idg� �������������d�S�) Nc������������������*�����t����������|�||dg�������������S�r,��r-��r���s��� r���r.��zLTestCompareObject.test_ignore_list_context_list_param.<locals>.compare_thingX��r/��r ���rS���rZ���r����r5��r����r����r����r6��r0��r1��s��� r����#test_ignore_list_context_list_paramz5TestCompareObject.test_ignore_list_context_list_paramW��sl������ J�� J�� J��� � �Q�!�q� �)�)�4�:�:��Q�!�:�+D�+D��:�}�5�#&�%� )�� )�� )�� )�� )�� )r ���N)r,���r-���r.���rL���r)��r2��r7��r:��r/���r ���r���r!��r!��C��sk��������������$��$��$��$��$���$��$��$� 7��7��7�7��7��7�)��)��)��)��)r ���r!��c�������������������������e�Zd�ZdS�)� BaseClassNr?��r/���r ���r���r<��r<��_��s���������������Dr ���r<��c�������������������������e�Zd�Zd��ZdS�)�MyDerivedClassc�����������������������||�_���������d�S�r$�����thing�r'���rA��s��� r���r(���zMyDerivedClass.__init__e��� �������� � � r ���Nrb��r/���r ���r���r>��r>��c���#����������������������r ���r>��c�������������������������e�Zd�ZdS�)�ConcreteBaseClassNr?��r/���r ���r���rF��rF��i��r���r ���rF��c�������������������������e�Zd�Zd��ZdS�)�ConcreteDerivedClassc�����������������������||�_���������d�S�r$���r@��rB��s��� r���r(���zConcreteDerivedClass.__init__n��rC��r ���Nrb��r/���r ���r���rH��rH��l��rD��r ���rH��c��������������������&�����e�Zd�Zd��Zd��Zd��Zd��ZdS�)�TestBaseClassesc������������������b�����t����������d������������}t����������d������������}t����������||�������������d�S�rV���)r>��r����r'����thing1�thing2s��� r����test_abc_equalzTestBaseClasses.test_abc_equalt��s2��������"�"����"�"���������r ���c������������������r�����t����������d������������}t����������d������������}|����������������������||d��������������d�S�)NrS���rZ���zCMyDerivedClass not as expected: attributes differ: 'thing': 1 != 2r%���)r>��rC���rM��s��� r����test_abc_unequalz TestBaseClasses.test_abc_unequalz��sL��������"�"����"�"�����&�&� �� �� �� �� �� �� r ���c������������������b�����t����������d������������}t����������d������������}t����������||�������������d�S�rV���)rH��r���rM��s��� r����test_concrete_equalz#TestBaseClasses.test_concrete_equal���s2������%�a�(�(��%�a�(�(���������r ���c������������������r�����t����������d������������}t����������d������������}|����������������������||d��������������d�S�)NrS���rZ���zIConcreteDerivedClass not as expected: attributes differ: 'thing': 1 != 2r%���)rH��rC���rM��s��� r����test_concrete_unequalz%TestBaseClasses.test_concrete_unequal���sL������%�a�(�(��%�a�(�(�����&�&� �� �� �� �� �� �� r ���N)r,���r-���r.���rP��rR��rT��rV��r/���r ���r���rK��rK��r��sP�������������� �� �� ������ �� �� ���������r ���rK��)8r����abcr���r���r����decimalr���� functoolsr����collectionsr����testfixtures.shouldraiser ����testfixtures.tests.sample1r ���r���r����testfixtures.mockr ���r���r����testfixturesr���r����r���r���r���r���r����testfixtures.compatr����testfixtures.comparisonr���r����unittestr���r���r���r��rg��r��r���rL���r3���r9���r"���rC���rE���rI���r��r!��r<��r>��rF��rH��rK��r/���r ���r����<module>rb�����so����� � � � ��������������#��#��#��#��#��#��#��#��������������������������"��"��"��"��"��"��1��1��1��1��1��1��J��J��J��J��J��J��J��J��J��J��(��(��(��(��(��(��(��(���������������������������������������������+��*��*��*��*��*��D��D��D��D��D��D��D��D������������� �'�"� #� #��#��#��#����d�d�f�f�'�1�2�2�� ������������������������v�t�4� �5��5��5��5�2"��"��"��"��"�F��"��"��"�J ��J ��J ��J ��J �-���J ��J ��J �Z>$ ��$ ��$ ��$ ��$ ���$ ��$ ��$ �N)��)��)��)��)���)��)��)�8 �� �� �� �� ��� �� �� ����������Y��������&��%��%��%��%���%��%��%����������,������� �� �� �� �� �m�� �� �� �� �� r ���