Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion spacy/tests/doc/test_underscore.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import pytest
from mock import Mock
from unittest.mock import Mock

from spacy.tokens import Doc, Span, Token
from spacy.tokens.underscore import Underscore
Expand Down
2 changes: 1 addition & 1 deletion spacy/tests/matcher/test_dependency_matcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import re

import pytest
from mock import Mock
from unittest.mock import Mock

from spacy.matcher import DependencyMatcher
from spacy.tokens import Doc, Token
Expand Down
2 changes: 1 addition & 1 deletion spacy/tests/matcher/test_matcher_api.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import pytest
from mock import Mock
from unittest.mock import Mock

from spacy.matcher import Matcher
from spacy.tokens import Doc, Span, Token
Expand Down
2 changes: 1 addition & 1 deletion spacy/tests/matcher/test_phrase_matcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import pytest
import srsly
from mock import Mock
from unittest.mock import Mock

from spacy.lang.en import English
from spacy.matcher import Matcher, PhraseMatcher
Expand Down
2 changes: 1 addition & 1 deletion spacy/tests/pipeline/test_analysis.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import pytest
from mock import Mock
from unittest.mock import Mock

from spacy.language import Language
from spacy.pipe_analysis import get_attr_info, validate_attrs
Expand Down