File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
lib/matplotlib/sphinxext/tests Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -87,4 +87,4 @@ def plot_file(num):
87
87
assert_true (file_same (range_4 , pjoin (self .html_dir , 'range4.png' )))
88
88
assert_true (file_same (range_6 , pjoin (self .html_dir , 'range6.png' )))
89
89
# check if figure caption made it into html file
90
- assert_true ('This is the caption for plot 15.' )
90
+ assert_true ('This is the caption for plot 15.' in html_contents )
Original file line number Diff line number Diff line change 1
1
from matplotlib import pyplot as plt
2
2
3
3
def range4 ():
4
- '''This function should never be called if the plot_diective works as expected.'''
4
+ '''This function should never be called if the plot_directive works as expected.'''
5
5
raise NotImplementedError
6
6
7
7
def range6 ():
You can’t perform that action at this time.
0 commit comments