Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrochukM committed Apr 12, 2018
1 parent 96ad8d5 commit ece154a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/word_to_vector/test_char_n_gram.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import mock

from torchnlp.word_to_vector import CharNGram
from tests.embeddings.utils import urlretrieve_side_effect
from tests.word_to_vector.utils import urlretrieve_side_effect
from torchnlp.text_encoders import UNKNOWN_TOKEN


Expand Down
2 changes: 1 addition & 1 deletion tests/word_to_vector/test_fast_text.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import mock

from torchnlp.word_to_vector import FastText
from tests.embeddings.utils import urlretrieve_side_effect
from tests.word_to_vector.utils import urlretrieve_side_effect


@mock.patch('urllib.request.urlretrieve')
Expand Down
2 changes: 1 addition & 1 deletion tests/word_to_vector/test_glove.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import mock

from torchnlp.word_to_vector import GloVe
from tests.embeddings.utils import urlretrieve_side_effect
from tests.word_to_vector.utils import urlretrieve_side_effect


@mock.patch("urllib.request.urlretrieve")
Expand Down

0 comments on commit ece154a

Please sign in to comment.