1818class TestPartOfSpeech (unittest .TestCase ):
1919
2020 def _getTargetClass (self ):
21- from gcloud .language .token import PartOfSpeech
21+ from gcloud .language .syntax import PartOfSpeech
2222 return PartOfSpeech
2323
2424 def test_reverse (self ):
@@ -36,14 +36,14 @@ def test_reverse(self):
3636class TestToken (unittest .TestCase ):
3737
3838 def _getTargetClass (self ):
39- from gcloud .language .token import Token
39+ from gcloud .language .syntax import Token
4040 return Token
4141
4242 def _makeOne (self , * args , ** kw ):
4343 return self ._getTargetClass ()(* args , ** kw )
4444
4545 def test_constructor (self ):
46- from gcloud .language .token import PartOfSpeech
46+ from gcloud .language .syntax import PartOfSpeech
4747
4848 text_content = 'All'
4949 text_begin = - 1
@@ -61,7 +61,7 @@ def test_constructor(self):
6161 self .assertEqual (token .lemma , lemma )
6262
6363 def test_from_api_repr (self ):
64- from gcloud .language .token import PartOfSpeech
64+ from gcloud .language .syntax import PartOfSpeech
6565
6666 klass = self ._getTargetClass ()
6767 text_content = 'pretty'
@@ -96,7 +96,7 @@ def test_from_api_repr(self):
9696class TestSentence (unittest .TestCase ):
9797
9898 def _getTargetClass (self ):
99- from gcloud .language .token import Sentence
99+ from gcloud .language .syntax import Sentence
100100 return Sentence
101101
102102 def _makeOne (self , * args , ** kw ):
0 commit comments