test to check matplotlib is deferred import

This commit is contained in:
Jonathan Shimwell 2023-04-26 14:23:44 +01:00
parent cee1615157
commit 664ae00cdc

View file

@ -0,0 +1,7 @@
import sys
import openmc
def test_matplotlib_presence():
"""Checks that remains a deferred import"""
assert 'matplotlib.pyplot' not in sys.modules