From 4259c4eb6a23d72f56d4fa45bc65947fd731cf27 Mon Sep 17 00:00:00 2001 From: endolith Date: Thu, 25 Jul 2013 12:49:16 -0400 Subject: DOC:Revert ``assert()`` back to ``assert`` (statement) --- doc/TESTS.rst.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/TESTS.rst.txt b/doc/TESTS.rst.txt index dba035422..2b66b5caa 100644 --- a/doc/TESTS.rst.txt +++ b/doc/TESTS.rst.txt @@ -104,7 +104,7 @@ a test class:: Within these test methods, ``assert_()`` and related functions are used to test whether a certain assumption is valid. If the assertion fails, the test fails. -Note that the Python builtin ``assert()`` should not be used, because it is +Note that the Python builtin ``assert`` should not be used, because it is stripped during compilation with ``-O``. Note that ``test_`` functions or methods should not have a docstring, because -- cgit v1.2.1