mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-10-31 16:07:41 +03:00 
			
		
		
		
	Merge token tests into token API tests
This commit is contained in:
		
							parent
							
								
									eb23424ab0
								
							
						
					
					
						commit
						d94dea1b18
					
				|  | @ -1,11 +0,0 @@ | ||||||
| from __future__ import unicode_literals |  | ||||||
| import pytest |  | ||||||
| 
 |  | ||||||
| from spacy.parts_of_speech import ADV |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| @pytest.mark.models |  | ||||||
| def test_prob(EN): |  | ||||||
|     tokens = EN(u'Give it back', parse=False) |  | ||||||
|     give = tokens[0] |  | ||||||
|     assert give.prob != 0 |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user