diff options
author | endolith <endolith@gmail.com> | 2013-07-25 12:49:16 -0400 |
---|---|---|
committer | endolith <endolith@gmail.com> | 2013-07-25 12:49:16 -0400 |
commit | 4259c4eb6a23d72f56d4fa45bc65947fd731cf27 (patch) | |
tree | cb1364fb25b1784c5ec19515cd964591b2774142 | |
parent | 1eea247484093073389032da7cc72126e502ebaa (diff) | |
download | numpy-4259c4eb6a23d72f56d4fa45bc65947fd731cf27.tar.gz |
DOC:Revert ``assert()`` back to ``assert`` (statement)
-rw-r--r-- | doc/TESTS.rst.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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 |