[tests] move imports into functions
This commit is contained in:
parent
963103b859
commit
3ceeba23b8
2 changed files with 6 additions and 4 deletions
|
|
@ -4,12 +4,10 @@ from numpy.testing import assert_equal
|
|||
|
||||
from ..pattern import Pattern
|
||||
from ..library import Library
|
||||
from ..file import oasis
|
||||
|
||||
|
||||
def test_oasis_roundtrip(tmp_path: Path) -> None:
|
||||
# Skip if fatamorgana is not installed
|
||||
pytest.importorskip("fatamorgana")
|
||||
from ..file import oasis
|
||||
|
||||
lib = Library()
|
||||
pat1 = Pattern()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue