Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
SkafteNicki authored Sep 7, 2021
1 parent 03b66da commit 8314b3b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ twine>=3.2
isort>=5.0
mypy>=0.790
phmdoctest>=1.1.1
PyYAML>=5.1

cloudpickle>=1.3
scikit-learn>=0.24
Expand Down
3 changes: 0 additions & 3 deletions tests/helpers/testers.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,9 +155,6 @@ def _class_test(
if check_scriptable:
torch.jit.script(metric)

# check that metrics can be parsed with yaml
yaml.dump(metric)

# move to device
metric = metric.to(device)
preds = preds.to(device)
Expand Down

0 comments on commit 8314b3b

Please sign in to comment.