Skip to content

Commit 75924af

Browse files
rcomerpp-mo
authored andcommitted
Remove setUpClass from Iris tests. (SciTools#4927)
* remove IrisTest.setUpClass * whatsnew
1 parent 5b17dbc commit 75924af

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

docs/src/whatsnew/latest.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ This document explains the changes made to Iris for this release
7979
💼 Internal
8080
===========
8181

82-
#. N/A
82+
#. `@rcomer`_ removed the obsolete ``setUpClass`` method from Iris testing.
83+
(:pull:`4927`)
8384

8485

8586
.. comment

lib/iris/tests/__init__.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -213,11 +213,6 @@ class IrisTest_nometa(unittest.TestCase):
213213

214214
_assertion_counts = collections.defaultdict(int)
215215

216-
@classmethod
217-
def setUpClass(cls):
218-
# Ensure that the CF profile if turned-off for testing.
219-
iris.site_configuration["cf_profile"] = None
220-
221216
def _assert_str_same(
222217
self,
223218
reference_str,

0 commit comments

Comments
 (0)