@@ -54,14 +54,13 @@ operators. (See :ref:`tbreportdemo`). This allows you to use the |
|
|
54 |
54 |
idiomatic python constructs without boilerplate code while not losing |
55 |
55 |
introspection information. |
56 |
56 |
|
57 |
|
-However, if you specify a message with the assertion like this: |
|
57 |
+If a message is specified with the assertion like this: |
58 |
58 |
|
59 |
59 |
.. code-block:: python |
60 |
60 |
|
61 |
61 |
assert a % 2 == 0, "value was odd, should be even" |
62 |
62 |
|
63 |
|
-then no assertion introspection takes places at all and the message |
64 |
|
-will be simply shown in the traceback. |
|
63 |
+it is printed alongside the assertion introspection in the traceback. |
65 |
64 |
|
66 |
65 |
See :ref:`assert-details` for more information on assertion introspection. |
67 |
66 |
|