mirror of
https://github.com/wassname/optuna-dashboard.git
synced 2026-10-28 13:11:26 +08:00
Fix expected values.
This commit is contained in:
1 parent
5810ef7760
commit
0aec86dbb1
1 file changed
+2
-2
@@ -36,7 +36,7 @@ def test_serialize_numpy_integer() -> None:
|
||||
}
|
||||
)
|
||||
assert len(serialized) == 4
|
||||
assert all([v["value"] == 1 for v in serialized])
|
||||
assert all([v["value"] == "1" for v in serialized])
|
||||
|
||||
|
||||
def test_serialize_numpy_floating() -> None:
|
||||
@@ -49,7 +49,7 @@ def test_serialize_numpy_floating() -> None:
|
||||
}
|
||||
)
|
||||
assert len(serialized) == 4
|
||||
assert all([v["value"] == 1.0 for v in serialized])
|
||||
assert all([v["value"] == "1.0" for v in serialized])
|
||||
|
||||
|
||||
@pytest.mark.skipif(sys.version_info < (3, 8), reason="BoTorch dropped Python3.7 support")
|
||||
|
||||
Reference in new issue
Block a user