Skip to content

Commit 6d21253

Browse files
Update netcompare/check_types.py
Co-authored-by: Glenn Matthews <[email protected]>
1 parent b2d5b81 commit 6d21253

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netcompare/check_types.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ def validate(**kwargs) -> None:
175175
if not tolerance:
176176
raise ValueError("'tolerance' argument is mandatory for Tolerance Check Type.")
177177
if not isinstance(tolerance, (int, float)):
178-
raise ValueError(f"Tolerance argument's value must be an integer. You have: {type(tolerance)}.")
178+
raise ValueError(f"Tolerance argument's value must be a number. You have: {type(tolerance)}.")
179179
if tolerance < 0:
180180
raise ValueError(f"Tolerance value must be greater than 0. You have: {tolerance}.")
181181

0 commit comments

Comments
 (0)