mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-10-30 23:47:31 +03:00 
			
		
		
		
	Add regression test for #719
This commit is contained in:
		
							parent
							
								
									c8ae682ff9
								
							
						
					
					
						commit
						46b17e5b51
					
				
							
								
								
									
										13
									
								
								spacy/tests/regression/test_issue719.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								spacy/tests/regression/test_issue719.py
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,13 @@ | |||
| # coding: utf8 | ||||
| from __future__ import unicode_literals | ||||
| 
 | ||||
| import pytest | ||||
| 
 | ||||
| 
 | ||||
| @pytest.mark.xfail | ||||
| @pytest.mark.models | ||||
| @pytest.mark.parametrize('text', ["s..."]) | ||||
| def test_issue719(EN, text): | ||||
|     """Test that the token 's' is not lemmatized into empty string.""" | ||||
|     tokens = EN(text) | ||||
|     assert tokens[0].lemma_ != '' | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user