File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
iris_grib/tests/unit/grib1_load_rules Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 99# importing anything else
1010import iris_grib .tests as tests
1111
12- import cf_units
1312import gribapi
1413from unittest import mock
1514
16- import iris
15+ from iris . aux_factory import HybridPressureFactory
1716from iris .exceptions import TranslationError
1817from iris .fileformats .rules import Reference
1918
@@ -109,8 +108,7 @@ def test_grib1_hybrid_height(self):
109108 results = grib1_convert (gw )
110109
111110 factory , = results [0 ]
112- self .assertEqual (factory .factory_class ,
113- iris .aux_factory .HybridPressureFactory )
111+ self .assertEqual (factory .factory_class , HybridPressureFactory )
114112 delta , sigma , ref = factory .args
115113 self .assertEqual (delta , {'long_name' : 'level_pressure' })
116114 self .assertEqual (sigma , {'long_name' : 'sigma' })
You can’t perform that action at this time.
0 commit comments