Skip to content

Commit d6eee04

Browse files
committed
Make __prepare_fancyarrow_dpi_cor_test private to prevent nose from running it
1 parent 5b464e7 commit d6eee04

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/matplotlib/tests/test_arrow_patches.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def test_boxarrow():
5252
bbox=dict(boxstyle=stylename, fc="w", ec="k"))
5353

5454

55-
def prepare_fancyarrow_dpi_cor_test():
55+
def __prepare_fancyarrow_dpi_cor_test():
5656
"""
5757
Convenience function that prepares and returns a FancyArrowPatch. It aims
5858
at being used to test that the size of the arrow head does not depend on
@@ -82,7 +82,7 @@ def test_fancyarrow_dpi_cor_100dpi():
8282
Remark: test only a rasterized format.
8383
"""
8484

85-
prepare_fancyarrow_dpi_cor_test()
85+
__prepare_fancyarrow_dpi_cor_test()
8686

8787

8888
@image_comparison(baseline_images=['fancyarrow_dpi_cor_200dpi'],
@@ -94,7 +94,7 @@ def test_fancyarrow_dpi_cor_200dpi():
9494
of the arrow head should be the same.
9595
"""
9696

97-
prepare_fancyarrow_dpi_cor_test()
97+
__prepare_fancyarrow_dpi_cor_test()
9898

9999

100100
if __name__ == '__main__':

0 commit comments

Comments
 (0)