diff options
author | Stephan Hoyer <shoyer@google.com> | 2018-11-13 20:28:51 -0800 |
---|---|---|
committer | Stephan Hoyer <shoyer@google.com> | 2018-11-13 20:28:51 -0800 |
commit | 4dbd084fd7f6448da24feb99a01b4d7bc275b3ff (patch) | |
tree | 38cdbc1895cd7d79c97667a54269296988ce1a51 /numpy/tests/test_public_api.py | |
parent | 4d24bbda32d133d51940b0691bd9b428d4198eaa (diff) | |
download | numpy-4dbd084fd7f6448da24feb99a01b4d7bc275b3ff.tar.gz |
DOC: add a comment explaining why we use normal assert
Diffstat (limited to 'numpy/tests/test_public_api.py')
-rw-r--r-- | numpy/tests/test_public_api.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/tests/test_public_api.py b/numpy/tests/test_public_api.py index fcb3a99cf..f797cf27c 100644 --- a/numpy/tests/test_public_api.py +++ b/numpy/tests/test_public_api.py @@ -52,6 +52,8 @@ def test_numpy_namespace(): 'who': 'numpy.lib.utils.who', } bad_results = check_dir(np) + # pytest gives better error messages with the builtin assert than with + # assert_equal assert bad_results == whitelist |