Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 11, 2023
1 parent 29334db commit 5e666e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/utils/test_dependency.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
import pytest

from pl_bolts.utils.dependency import requires


@requires("torch")
def using_torch():
return True


@requires("torch.anything.wrong")
def using_torch_wrong_path():
return True


@requires("torch>99.0")
def using_torch_bad_version():
return True
Expand Down

0 comments on commit 5e666e6

Please sign in to comment.