From 29d58ffdf236a7647bf2ab7324849802e17e5f12 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sat, 18 Jun 2011 15:07:36 -0500 Subject: [PATCH] note condition for introspection happening --- doc/assert.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/assert.txt b/doc/assert.txt index fd9979032..a2f87b5e8 100644 --- a/doc/assert.txt +++ b/doc/assert.txt @@ -44,6 +44,9 @@ including calls, attributes, comparisons, and binary and unary operators. This allows you to use the idiomatic python constructs without boilerplate code while not losing introspection information. +Assertion introspection is enabled only when a message is not manually provided +in the assert statement. + See :ref:`assert-details` for more information on assertion introspection.