diff --git a/tests/python/test_demos.py b/tests/python/test_demos.py index 7b5b1b19a9fc..b87317c4730c 100644 --- a/tests/python/test_demos.py +++ b/tests/python/test_demos.py @@ -115,6 +115,7 @@ def test_aft_demo(): os.remove('aft_model.json') +@pytest.mark.skipif(**tm.no_matplotlib()) def test_callbacks_demo(): script = os.path.join(PYTHON_DEMO_DIR, 'callbacks.py') cmd = ['python', script, '--plot=0']