Skip to content

Commit 1d77686

Browse files
Tidy up dev. elements and version tags for PR
1 parent 0f6d0bf commit 1d77686

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

cf/mixin/fielddomain.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2418,7 +2418,7 @@ def del_construct(self, *identity, default=ValueError(), **filter_kwargs):
24182418
removed even if it is referenced by coordinate reference
24192419
construct.
24202420
2421-
.. versionadded:: 3.16.2
2421+
.. versionadded:: NEXTVERSION
24222422
24232423
.. seealso:: `get_construct`, `constructs`, `has_construct`,
24242424
`set_construct`
@@ -2445,7 +2445,7 @@ def del_construct(self, *identity, default=ValueError(), **filter_kwargs):
24452445
24462446
{{filter_kwargs: optional}}
24472447
2448-
.. versionadded:: (cfdm) 1.8.9.0
2448+
.. versionadded:: NEXTVERSION
24492449
24502450
:Returns:
24512451

cf/test/test_Domain.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -393,8 +393,8 @@ def test_Domain_create_regular(self):
393393

394394
def test_Domain_del_construct(self):
395395
"""Test the `del_construct` Domain method."""
396-
# Test a field without cyclic axes. These are equivalent tests to those
397-
# in the cfdm test suite, to check the behaviour is the same in cf.
396+
# Test a domain without cyclic axes. These are equivalent tests to
397+
# those in the cfdm test suite, to check behaviour is the same in cf.
398398
d = self.d.copy()
399399

400400
self.assertIsInstance(
@@ -414,7 +414,7 @@ def test_Domain_del_construct(self):
414414
d.del_construct("measure:area"), cf.CellMeasure
415415
)
416416

417-
# Test a field with cyclic axes, to ensure the cyclic() set is
417+
# Test a domain with cyclic axes, to ensure the cyclic() set is
418418
# updated accordingly if a cyclic axes is the one removed.
419419
e = cf.example_field(2).domain # this has a cyclic axes 'domainaxis2'
420420
# To delete a cyclic axes, must first delete this dimension coordinate

cf/test/test_Field.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2577,7 +2577,6 @@ def test_Field_del_construct(self):
25772577
# Test a field without cyclic axes. These are equivalent tests to those
25782578
# in the cfdm test suite, to check the behaviour is the same in cf.
25792579
f = self.f1.copy()
2580-
print(f.cyclic())
25812580

25822581
self.assertIsInstance(
25832582
f.del_construct("auxiliarycoordinate1"), cf.AuxiliaryCoordinate

0 commit comments

Comments
 (0)