Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
dmlls committed Oct 25, 2023
1 parent c1a4524 commit 56c950e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def pytest_generate_tests(metafunc):
try:
# `use_gpu` ignored if `use_transformers` is False.
negator_model = Negator(
use_transformers=use_transformers, use_gpu=True)
use_transformers=use_transformers, use_gpu=False)
negator_model.negate_sentence("I will now check GPU support!")
except (ValueError, NotImplementedError): # GPU not supported
negator_model = Negator(
Expand Down

0 comments on commit 56c950e

Please sign in to comment.