Skip to content

Commit

Permalink
Add missing closibng parenthesis in log message for differing Data units
Browse files Browse the repository at this point in the history
  • Loading branch information
sadielbartholomew committed Aug 31, 2021
1 parent 2a5d431 commit 37e3555
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cf/data/data.py
Original file line number Diff line number Diff line change
Expand Up @@ -8812,7 +8812,7 @@ def equals(
other_Units = other.Units
if self_Units != other_Units:
logger.info(
"{}: Different Units ({!r}, {!r}".format(
"{}: Different Units ({!r}, {!r})".format(
self.__class__.__name__, self.Units, other.Units
)
)
Expand Down
2 changes: 1 addition & 1 deletion cf/test/test_Data.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def test_Data_equals(self):
self.assertFalse(e.equals(d))
self.assertTrue(
any(
"Data: Different Units (<Units: s>, <Units: m>" in log_msg
"Data: Different Units (<Units: s>, <Units: m>)" in log_msg
for log_msg in catch.output
)
)
Expand Down

0 comments on commit 37e3555

Please sign in to comment.