Skip to content

Commit

Permalink
remove bad test
Browse files Browse the repository at this point in the history
  • Loading branch information
evelynmitchell committed Dec 30, 2023
1 parent 01bc825 commit 61c4b18
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tests/utils/test_log.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ def test_log_one():
assert log(one_tensor) == torch.tensor(0.0)


def test_log_negative():
negative_tensor = torch.tensor(-1.0)
# testing log function with negative numbers
with pytest.raises(ValueError):
log(negative_tensor)


@pytest.mark.parametrize(
"input_val, expected",
[
Expand Down

0 comments on commit 61c4b18

Please sign in to comment.