mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-11-04 09:57:26 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
		
			185 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			185 B
		
	
	
	
		
			Python
		
	
	
	
	
	
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'])
 |