Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fbda77d

Browse files
remove test cases
1 parent e0e29a9 commit fbda77d

File tree

1 file changed

+0
-46
lines changed

1 file changed

+0
-46
lines changed

lib/matplotlib/tests/test_rcparams.py

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
validate_hist_bins,
2828
validate_markevery,
2929
_validate_linestyle)
30-
from matplotlib.testing.decorators import check_figures_equal
3130

3231

3332
def test_rcparams(tmpdir):
@@ -533,48 +532,3 @@ def test_backend_fallback_headful(tmpdir):
533532
# The actual backend will depend on what's installed, but at least tkagg is
534533
# present.
535534
assert backend.strip().lower() != "agg"
536-
537-
# Test cases for Bug 16583 - matplotlibrc validates some parameters wrongly
538-
539-
# def test_xtickalign_validation_rcparams():
540-
# with pytest.raises(ValueError):
541-
# mpl.rcParams['xtick.alignment'] = 'top'
542-
543-
# @check_figures_equal()
544-
# def test_left_xtick(fig_test, fig_ref):
545-
# labels = range(0, 100, 10)
546-
547-
# fig_test.subplots()
548-
# ax1 = fig_test.axes
549-
# ax1[0].set_xticklabels(labels, ha='left')
550-
551-
# mpl.rcParams['xtick.alignment'] = 'left'
552-
# fig_ref.subplots()
553-
# ax2 = fig_ref.axes
554-
# ax2[0].set_xticklabels(labels)
555-
556-
# @check_figures_equal()
557-
# def test_right_xtick(fig_test, fig_ref):
558-
# labels = range(0, 100, 10)
559-
560-
# fig_test.subplots()
561-
# ax1 = fig_test.axes
562-
# ax1[0].set_xticklabels(labels, ha='right')
563-
564-
# mpl.rcParams['xtick.alignment'] = 'right'
565-
# fig_ref.subplots()
566-
# ax2 = fig_ref.axes
567-
# ax2[0].set_xticklabels(labels)
568-
569-
# @check_figures_equal()
570-
# def test_center_xtick(fig_test, fig_ref):
571-
# labels = range(0, 100, 10)
572-
573-
# fig_test.subplots()
574-
# ax1 = fig_test.axes
575-
# ax1[0].set_xticklabels(labels, ha='center')
576-
577-
# mpl.rcParams['xtick.alignment'] = 'center'
578-
# fig_ref.subplots()
579-
# ax2 = fig_ref.axes
580-
# ax2[0].set_xticklabels(labels)

0 commit comments

Comments
 (0)