mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-10-31 07:57:35 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			290 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			290 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| import pytest
 | |
| from spacy.tokens import Doc
 | |
| 
 | |
| 
 | |
| pytestmark = pytest.mark.filterwarnings("ignore::DeprecationWarning")
 | |
| 
 | |
| 
 | |
| def test_uk_lemmatizer(uk_lemmatizer):
 | |
|     """Check that the default uk lemmatizer runs."""
 | |
|     doc = Doc(uk_lemmatizer.vocab, words=["a", "b", "c"])
 | |
|     uk_lemmatizer(doc)
 |