mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-10-31 16:07:41 +03:00 
			
		
		
		
	Add test for Issue #589
This commit is contained in:
		
							parent
							
								
									41b7014c70
								
							
						
					
					
						commit
						6977a2b8cd
					
				
							
								
								
									
										10
									
								
								spacy/tests/regression/test_issue589.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								spacy/tests/regression/test_issue589.py
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,10 @@ | |||
| import pytest | ||||
| 
 | ||||
| from ...vocab import Vocab | ||||
| from ...tokens import Doc | ||||
| 
 | ||||
| 
 | ||||
| def test_issue589(): | ||||
|     vocab = Vocab() | ||||
|     vocab.strings.set_frozen(True) | ||||
|     doc = Doc(vocab, words=[u'whata']) | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user