Improve changelog

This commit is contained in:
Aly Sivji 2018-08-03 10:28:46 -05:00
parent 1847cc7420
commit a3e388a73a
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
Richer comparison introspection on ``AssertionError`` for objects created using `attrs <http://www.attrs.org/en/stable/>`_ or `dataclasses <https://docs.python.org/3/library/dataclasses.html>`_ (Python 3.7+).
Richer equality comparison introspection on ``AssertionError`` for objects created using `attrs <http://www.attrs.org/en/stable/>`_ or `dataclasses <https://docs.python.org/3/library/dataclasses.html>`_ (Python 3.7+, `backported to Python 3.6 <https://pypi.org/project/dataclasses>`_).

View File

@ -333,7 +333,7 @@ def _compare_eq_class(left, right, verbose, type=None):
all_fields = left.__attrs_attrs__
fields_to_check = [field.name for field in all_fields if field.cmp]
else:
raise RuntimeError
raise RuntimeError("Unexpected value for `type` paramater")
same = []
diff = []