Skip to content

Commit

Permalink
Update comparing.txt
Browse files Browse the repository at this point in the history
Two types fixed.
  • Loading branch information
oto-stefan committed Apr 6, 2023
1 parent b302ef7 commit 3ab859a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/comparing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ Comparison objects

Another common problem with the checking in tests is that you may only want to make
assertions about the type of an object that is nested in a data structure, or even just compare
a subset of an object's attributes. Textfixtures provides the :class:`~testfixtures.Comparison`
a subset of an object's attributes. Testfixtures provides the :class:`~testfixtures.Comparison`
class to help in situations like these.

Comparisons will appear to be equal to any object they are compared
Expand Down Expand Up @@ -1012,7 +1012,7 @@ If you need to specify flags, this can be done in one of three ways:
Differentiating chunks of text
------------------------------

Textfixtures provides a function that will compare two strings and
Testfixtures provides a function that will compare two strings and
give a unified diff as a result. This can be handy as a third
parameter to :meth:`~unittest.TestCase.assertEqual` or just as a
general utility function for comparing two lumps of text.
Expand Down

0 comments on commit 3ab859a

Please sign in to comment.