Skip to content

Commit

Permalink
Fix test broken by prev commit
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-2023 committed Feb 5, 2024
1 parent b8dd15e commit 2bec2ed
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/grid/cubic.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,15 +342,15 @@ def __init__(self, oned_x, oned_y, oned_z=None):
"""
if not isinstance(oned_x, OneDGrid):
raise TypeError(
f"Argument oned_x should be an instance of `OneDGrid`\, got {type(oned_x)}"
f"Argument oned_x should be an instance of `OneDGrid`, got {type(oned_x)}"
)
if not isinstance(oned_y, OneDGrid):
raise TypeError(
f"Argument oned_y should be an instance of `OneDGrid`\, got {type(oned_y)}"
f"Argument oned_y should be an instance of `OneDGrid`, got {type(oned_y)}"
)
if not isinstance(oned_z, (OneDGrid, type(None))):
raise TypeError(
f"Argument oned_z should be an instance of `OneDGrid`\, got {type(oned_z)}"
f"Argument oned_z should be an instance of `OneDGrid`, got {type(oned_z)}"
)

if oned_z is not None:
Expand Down

0 comments on commit 2bec2ed

Please sign in to comment.