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 beea7da commit 2c7b606Copy full SHA for 2c7b606
tests/test_base.py
@@ -34,3 +34,8 @@ def test_validate_boundary():
34
def test_validate_range(range_type):
35
with pytest.raises(ValueError):
36
BaseOptimizer.validate_range(-1.0, 'x', 0.0, 1.0, range_type=range_type)
37
+
38
39
+def test_mod():
40
+ with pytest.raises(ValueError):
41
+ BaseOptimizer.validate_mod(10, 3)
0 commit comments