Skip to content

Commit

Permalink
Merge pull request #367 from neutrinoceros/tst/rfc/all_imports_at_top…
Browse files Browse the repository at this point in the history
…_level

TST: move all imports at test module top level
  • Loading branch information
neutrinoceros authored Nov 2, 2024
2 parents 0770c70 + 449a7e8 commit ee69232
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tests/test_image_comp.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
from copy import deepcopy

import inifix
import matplotlib as mpl
import matplotlib.pyplot as plt
import numpy as np
import pytest
from matplotlib.colors import SymLogNorm

from nonos.api import GasDataSet
from nonos.api import Coordinates, GasDataSet, GasField, NonosLick
from nonos.styling import set_mpl_style


Expand Down Expand Up @@ -96,10 +97,6 @@ def test_3D_vm_xy(test_data_dir, temp_figure_and_axis):
@pytest.mark.parametrize("method", ["nearest", "linear"])
@pytest.mark.mpl_image_compare()
def test_nonoslick_method(method, tmp_path, temp_figure_and_axis):
import inifix

from nonos.api import Coordinates, GasField, NonosLick

fig, ax = temp_figure_and_axis

root_size = 2
Expand Down

0 comments on commit ee69232

Please sign in to comment.