Skip to content

Commit 08dde66

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 86c26d8 commit 08dde66

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/tests_fabric/utilities/test_seed.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ def test_correct_seed_with_environment_variable():
4949
def test_invalid_seed():
5050
"""Ensure that a ValueError is raised if an invalid seed is given."""
5151
with pytest.raises(ValueError, match="Invalid seed specified"):
52-
seed = seed_everything()
52+
seed_everything()
53+
5354

5455
@mock.patch.dict(os.environ, {}, clear=True)
5556
@pytest.mark.parametrize("seed", [10e9, -10e9])

0 commit comments

Comments
 (0)