Skip callback demo test if matplotlib is not installed (#7520)
This commit is contained in:
parent
58a6723eb1
commit
59bd1ab17e
@ -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']
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user