TST: Add future dependency tests as a weekly CI job · matplotlib/matplotlib@7830c85 · GitHub
Skip to content

Commit 7830c85

Browse files
committed
TST: Add future dependency tests as a weekly CI job
Test future numpy and pandas versions with Matplotlib to see if anything needs to be done in the future to address deprecations or other pending changes. Turns all warnings into errors, but filters out the distutils deprecation and find_spec warnings.
1 parent 075067c commit 7830c85

3 files changed

Lines changed: 38 additions & 3 deletions

File tree

.github/workflows/tests.yml

Lines changed: 32 additions & 0 deletions

lib/matplotlib/tests/test_axes.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3378,6 +3378,8 @@ def test_errorbar():
33783378
ax.errorbar(x, y, yerr=[yerr_lower, 2*yerr], xerr=xerr,
33793379
fmt='o', ecolor='g', capthick=2)
33803380
ax.set_title('Mixed sym., log y')
3381+
# Force limits due to floating point slop potentially expanding the range
3382+
ax.set_ylim(1e-2, 1e1)
33813383

33823384
fig.suptitle('Variable errorbars')
33833385

lib/matplotlib/tests/test_colors.py

Lines changed: 4 additions & 3 deletions

0 commit comments

Comments
 (0)