mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-26 21:25:36 -04:00
test to check matplotlib is deferred import
This commit is contained in:
parent
cee1615157
commit
664ae00cdc
1 changed files with 7 additions and 0 deletions
7
tests/regression_tests/python_import/test.py
Normal file
7
tests/regression_tests/python_import/test.py
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue