mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-10-31 07:57:35 +03:00 
			
		
		
		
	* Fix test of serializer
This commit is contained in:
		
							parent
							
								
									4083059650
								
							
						
					
					
						commit
						d06ba26371
					
				|  | @ -20,7 +20,7 @@ from spacy.serialize.bits import BitArray | ||||||
| 
 | 
 | ||||||
| @pytest.fixture | @pytest.fixture | ||||||
| def vocab(): | def vocab(): | ||||||
|     vocab = Vocab(Language.default_lex_attrs()) |     vocab = Language.default_vocab() | ||||||
|     lex = vocab['dog'] |     lex = vocab['dog'] | ||||||
|     assert vocab[vocab.strings['dog']].orth_ == 'dog' |     assert vocab[vocab.strings['dog']].orth_ == 'dog' | ||||||
|     lex  = vocab['the'] |     lex  = vocab['the'] | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user