mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Defer a few more matplotlib imports
This commit is contained in:
parent
664ae00cdc
commit
f2549c9470
4 changed files with 11 additions and 11 deletions
6
tests/test_matplotlib_import.py
Normal file
6
tests/test_matplotlib_import.py
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
import sys
|
||||
import openmc
|
||||
|
||||
def test_matplotlib_presence():
|
||||
"""Checks that matplotlib remains a deferred import"""
|
||||
assert 'matplotlib' not in sys.modules
|
||||
Loading…
Add table
Add a link
Reference in a new issue