Skip to content

Commit

Permalink
Fix bogus merge
Browse files Browse the repository at this point in the history
  • Loading branch information
uri-granta committed Aug 20, 2021
1 parent bb724fa commit 4f8f48c
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tests/unit/test_space.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,15 +228,6 @@ def test_box___mul___for_empty_search_space() -> None:
npt.assert_array_equal((empty * cube).upper, cube.upper)


def test_box___mul___for_empty_search_space() -> None:
empty = Box(tf.zeros(0, dtype=tf.float64), tf.zeros(0, dtype=tf.float64))
cube = Box([0, 0, 0], [1, 1, 1])
npt.assert_array_equal((cube * empty).lower, cube.lower)
npt.assert_array_equal((cube * empty).upper, cube.upper)
npt.assert_array_equal((empty * cube).lower, cube.lower)
npt.assert_array_equal((empty * cube).upper, cube.upper)


@pytest.mark.parametrize(
"lower_dtype, upper_dtype",
[
Expand Down

0 comments on commit 4f8f48c

Please sign in to comment.