Skip to content

Commit 0dffa21

Browse files
Removed commented codes from test_CFReader (SciTools#7189)
* remove commented codes * added what'snew * readded comments
1 parent d21d699 commit 0dffa21

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

changelog/7189.internal.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
:user:`king56180468-droid` removed redundant commented codes from ``test_CFReader``. (:issue:`6625`)

lib/iris/tests/unit/fileformats/cf/test_CFReader.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,8 +369,6 @@ def _setup_class(self, mocker):
369369
file_format="NetCDF4", variables=self.variables, ncattrs=ncattrs
370370
)
371371

372-
# @pytest.fixture(autouse=True)
373-
# def _setup(self, mocker):
374372
# Restrict the CFReader functionality to only performing
375373
# translations and building first level cf-groups for variables.
376374
mocker.patch("iris.fileformats.cf.CFReader._reset")

0 commit comments

Comments
 (0)