We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2d5b81 commit 6d21253Copy full SHA for 6d21253
netcompare/check_types.py
@@ -175,7 +175,7 @@ def validate(**kwargs) -> None:
175
if not tolerance:
176
raise ValueError("'tolerance' argument is mandatory for Tolerance Check Type.")
177
if not isinstance(tolerance, (int, float)):
178
- raise ValueError(f"Tolerance argument's value must be an integer. You have: {type(tolerance)}.")
+ raise ValueError(f"Tolerance argument's value must be a number. You have: {type(tolerance)}.")
179
if tolerance < 0:
180
raise ValueError(f"Tolerance value must be greater than 0. You have: {tolerance}.")
181
0 commit comments