Trivial fix

asertEqual should be assertEqual

Change-Id: I44a21a04321d270d2bc08fb5be18143addb1bc79
This commit is contained in:
chenaidong1 2017-05-09 15:42:36 +08:00
parent 79071c0ec2
commit 5560848e4c

View File

@ -53,7 +53,7 @@ Tests
Occasionally someone proposes a patch that converts instances of Occasionally someone proposes a patch that converts instances of
``assertEqual(True, whatever)`` to ``assertTrue(whatever)``, or instances of ``assertEqual(True, whatever)`` to ``assertTrue(whatever)``, or instances of
``asertEqual(False, w)`` to ``assertFalse(w)`` in tests. Note that these are ``assertEqual(False, w)`` to ``assertFalse(w)`` in tests. Note that these are
not type safe changes and they weaken the tests. (See the Python ``unittest`` not type safe changes and they weaken the tests. (See the Python ``unittest``
docs for details.) We tend to be very conservative about our tests and don't docs for details.) We tend to be very conservative about our tests and don't
like weakening changes. like weakening changes.