Skip to content

Commit

Permalink
Merge pull request scipy#8448 from endolith/patch-1
Browse files Browse the repository at this point in the history
TST: Generalize doctest stopwords .axis( .plot(
  • Loading branch information
ev-br authored Feb 20, 2018
2 parents 1fc6f17 + 1347268 commit e49ebde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/refguide_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ class Checker(doctest.OutputChecker):
vanilla = doctest.OutputChecker()
rndm_markers = {'# random', '# Random', '#random', '#Random', "# may vary"}
stopwords = {'plt.', '.hist', '.show', '.ylim', '.subplot(',
'set_title', 'imshow', 'plt.show', 'ax.axis', 'plt.plot(',
'set_title', 'imshow', 'plt.show', '.axis(', '.plot(',
'.bar(', '.title', '.ylabel', '.xlabel', 'set_ylim', 'set_xlim',
'# reformatted', '.set_xlabel(', '.set_ylabel(', '.set_zlabel(',
'.set(xlim=', '.set(ylim=', '.set(xlabel=', '.set(ylabel='}
Expand Down

0 comments on commit e49ebde

Please sign in to comment.