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

Commit b4d1b14

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 3331777 commit b4d1b14

3 files changed

Lines changed: 39 additions & 3 deletions

File tree

.github/workflows/tests.yml

Lines changed: 33 additions & 0 deletions

lib/matplotlib/tests/test_axes.py

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

34303432
fig.suptitle('Variable errorbars')
34313433

lib/matplotlib/tests/test_colors.py

Lines changed: 4 additions & 3 deletions

0 commit comments

Comments
 (0)