diff options
author | Kexuan Sun <me@kianasun.com> | 2019-06-15 11:42:43 -0700 |
---|---|---|
committer | Matti Picus <matti.picus@gmail.com> | 2019-06-15 21:42:43 +0300 |
commit | 8a5102bce50193ff3332396d30acbdd48ecb47ed (patch) | |
tree | a8dd88a96eb6dbb09ee8156bf841320d67298b46 /tools | |
parent | 9f8401f7e03c35a1afbc5329d6c216c39c8b808a (diff) | |
download | numpy-8a5102bce50193ff3332396d30acbdd48ecb47ed.tar.gz |
DOC: Change random to uninitialized and unpredictable in empty and empty_like (#13771)
* DOC: Change "random" to "uninitialized" in doctests
Diffstat (limited to 'tools')
-rw-r--r-- | tools/refguide_check.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/refguide_check.py b/tools/refguide_check.py index 74dbad78b..c20807267 100644 --- a/tools/refguide_check.py +++ b/tools/refguide_check.py @@ -505,7 +505,8 @@ class Checker(doctest.OutputChecker): obj_pattern = re.compile('at 0x[0-9a-fA-F]+>') int_pattern = re.compile('^[0-9]+L?$') vanilla = doctest.OutputChecker() - rndm_markers = {'# random', '# Random', '#random', '#Random', "# may vary"} + rndm_markers = {'# random', '# Random', '#random', '#Random', "# may vary", + "# uninitialized", "#uninitialized"} stopwords = {'plt.', '.hist', '.show', '.ylim', '.subplot(', 'set_title', 'imshow', 'plt.show', '.axis(', '.plot(', '.bar(', '.title', '.ylabel', '.xlabel', 'set_ylim', 'set_xlim', |